When working on all tag-fields at once, by using the pseudo tag-field _TAG, that bears risk.
For example, the content of the tag-field like "COMMENT ITUNNORM" will loose it's leading space character.
Note, the regular expression character class "\s" includes all "whitespace" characters.
For example, try yourself ...
Begin Action Group Test_2011#20111129.Test.WhitespaceCharacters
Action #1 Actiontype 5: Format value Field ______: TEST_WHITESPACE Formatstring: $regexp('1'$char(9)'2'$char(10)'3'$char(11)'4'$char(12)'5'$char(13)'6'$char(32)'7','\s',)
End Action Group Test_2011#20111129.Test.WhitespaceCharacters (1 Action)
The result of this action is the text string: "1234567"
$regexp(' TEST ','^ +| +$',)is the same as$trim(' TEST ')... and even harder ...$regexp($char(9)$char(10)$char(11)$char(12)$char(13)$char(32)'TEST'$char(9)$char(10)$char(11)$char(12)$char(13)$char(32),'^\s+|\s+$',)
The result of this expression is the text string: "TEST"
Thanks for these axamples, but I haven't been at a computer these last few days, only on my phone atm.
But could you add an action to replace the COMMENT ITUNNORM below your delete unwanted 'whitespace' in an action group or are there more TAGS which behave like this. Perhaps the LYRICS tag is one more?
e.g. For the COMMENT ITUNNORM tag
Regexp: (\w)
replace with: whitespacecharacter$1
Could you also please give a realworld example of how them actions work or are they already ones?
As I've said on my fone so unable to test them, Thanks.