I have a two fold problem. I am trying to search for a specific character string, in this instance (CD 1), in the "ALBUM" tag. I wish to copy the disc # into the "DISC #" tag and remove the searched for characters in the "ALBUM" tag.
My thinking was to create a new action with two separate functions I came up with the following but it doesn't work. Am I on the right track or way off base?
First step:
Format Value
Field: DISCNUMBER
Formatstring: $if($eql(%ALBUM%,*.(CD (\d))),$3,%DISCNUMBER%)
Second step:
Format Value
Field: ALBUM
Regular Expression: (.).(CD\s+(\d+)).
Replace matches with: $1
I'm sure there are some prettier ways to do this as well. The Album tag I have been working with is: At The Half Note Cafe Vols 1 & 2 (CD 2) However, the string I am looking for may or may not be at the end of the file, or in it at all, and may or may not be in some form of parenthesis, bracket etc.
Many thanks, I've spent all day working on this.
Chris
PS. Thanks, Florian, for a truly "top drawer" program.