Could you (or somebody else who is already getting this) perhaps give two quick examples of this would look like in real-life?
For example on a <Title> being:
"John ft. Mary (live)"
One example for what the virtual tag would look like if you want to have the output being just: (live)
and another one for what it would look like if you would want to only replace 'ft.' by 'feat.'
I am not getting it. Stevens post mentions 'index', you have an entry that you call 'return code', I think I'm on a wrong path here.
Could you perhaps post a screenshot of how this should look in the virtual tag's edit panel?
Sorry about the confusion. You're right, my "return code" is Steven's "replace-text". Okay, after getting a handle on the formatting, your virtualtags should go something like this:
Title (Live) > (Live)
$RxReplace(<Title>,"(^.*)(\([Ll]ive\))","$2")
Ft. (or Feat.) > feat. (note: you should probably do an if-contains first, like if the <title> contains ft. or Feat., then do below, else <title>)
$RxReplace(<Title>,"(^.*)([Ff]t\.|Feat\.)(.*$)","$1\(feat\.$3\)")