A question of Brackets

Some files have two sets of brackets and they are normally set as (Featuring Fred McClumpher)[Live Version].
However this not always the case with [Featuring Fred McClumpher] appearing before (Live Version) or even containing two sets of () or two sets of [].

My preference will always be () followed by [] and it is just the brackets which are wrong, and not the contents.

Can this be achieved by means of an Action and if so, how?


Try an action of the type "Replace with regular expression" for TITLE
Search string: [|([]|)] [|([]|)]
Replace string ($1) [$2]

Perhaps you filter first for the files with
%title% MATCHES "[[|(].*"

Action: Format value Field: TITLE Formatstring: $regexp(%TITLE%,'^(.+?)[([](.+?)[])](.*)[([](.+?)[])]$','$1($2)$3[$4]')


Thanks very much both!!!