Format value: $trim($replace(%TITLE%,' ',''))which removes all pause from my TITLE tag
How it should be modified so that it would only removes pauses that happen to be inside brackets? When there could be unspecified and unpredictable number of also other signs than pauses?
So in other words, how to turn for example:
Title Of A Song [ b]
(Sub-Title Of A Song) [m 2 ]
{2005 Mix} [ m4- 5 e]into:
Title Of A Song [b]
(Sub-Title Of A Song) [m2]
{2005 Mix} [m4-5e]
Format value: $trim($replace(%TITLE%,' ',''))which removes all pause from my TITLE tag
How it should be modified so that it would only removes pauses that happen to be inside brackets? When there could be unspecified and unpredictable number of also other signs than pauses?
So in other words, how to turn for example:
Title Of A Song [ b]
(Sub-Title Of A Song) [m 2 ]
{2005 Mix} [ m4- 5 e]into:
Title Of A Song [b]
(Sub-Title Of A Song) [m2]
{2005 Mix} [m4-5e]<!--QuoteEnd--></div><!--QuoteEEnd-->
A simple replace of a double-blank into a single blank should remove the unpredictable number of space characters.
Then, I guess, you would have to create an action for each leading and each trailing type of bracket to replace a bracket-blank or blank-bracket with just the bracket.
But only for the first brackets. If there is for example something like
Title Of A Song A [ m e ] + Title Of A Song B [ b m ]it will get turned into
Title Of A Song A [me] + Title Of A Song B [ b m ]instead of
Title Of A Song A [me] + Title Of A Song B [bm]
I would say: GIGO - Garbage in, garbage out.
You only mentioned one pair of brackets in your examples.
Doesn't a second run of the action rectify the problem?
(And: what about a "Thank you, DetlevD, I forgot to mention that there are some files that have more than one pair of brackets. Could you help me with that as well?")
That was my first thought; because I periodically run my big cleaning action group because some work can't be [or I prefer it not to be] done with a single click
Thank you, DetlevD, I forgot to mention that there are some files that have more than one pair of brackets. Could you help me with that as well?