I have a bunch of music MP3 files in a folder. Some of them have their title tag set as, for example:
Back Up [Feat. xx] [Album Version]
I want to create an action that will define, if title tag has two pairs of square brackets "[]", the first pair should be replaced with round ones "()"
Back Up (Feat. xx) [Album Version]
Is it possible to create such action (expression) ?
I did find a similar post that does the reverse of what I want so maybe it could be adopted to my needs.
Original from the thread:
$regexp(%TITLE%,'^([^(]+?)\s(([^(]+?))\s(([^(]+?))$','$1 ($2) [$3]')
My suggestion:
$regexp(%TITLE%,'^([^(]+?)\s[([^(]+?)]\s[([^(]+?)]$','$1 ($2) [$3]')
Found a closing ) with no corresponding openening parenthesis. The error occurred while parsing the regular expression fragment: ')s[([^(]+?>>>HERE>>>)]s[([^(]+'.