Hi, I hope I posted this in the right place. I have an action to put parenthesis around "feat. xxx" when there are no parenthesis there. The expression works pretty well, except for it adds a closed parenthesis around all tracks regardless of whether or not it contains "feat.". Can someone please help me fix the expression so it does not add a closed parenthesis to every song title?
The whole action is:
Format Value
Field: %TITLE%
Format String: $replace(%TITLE%,' Feat. ',' (Feat. ')')'
I would say that this action replaces every "Feat. XYZ" with "(Feat. ) XYZ".
I think you need a regular expression like
Format String: $regexp(%title%,' Feat. (.*)',' (Feat. $1)')