Replace Action

I have Album tags I wish to rename by removing the appended catalog id in brackets.

e.g. Reflections [BED82]

I've tried using Replace "ALBUM": "[.+]" -> ""

What I am doing wrong?

Are you using a Replace with regular expression action, and not a plain Replace action?

You are using the action-type "Replace" instead of "Regular expression"?

DOH! :laughing: I assumed I was using the regular expression.


You'll probably also want to remove the space right before the bracket. You could do that by executing a second action that uses a $trim() function, but it could be done in the same Replace with regular expression action.

Action type: Replace with regular expression
Field: ALBUM
Regular expression: \s*[.+]
Replace matches with:
[ ] case-sensitive comparison