EXAMPLE:
Before:
Title: Give It To Em
Artist: Akon/Rick Ross
New:
Title: Give It To Em (feat. Rick Ross)
Artist: Akon
EXAMPLE:
Before:
Title: Give It To Em
Artist: Akon/Rick Ross
New:
Title: Give It To Em (feat. Rick Ross)
Artist: Akon
Your request looks like the known request ...
"swap the featured artist from the tagfield ARTIST to the tagfield TITLE".
Here in this case the character slash '/' has the same meaning as the word 'featuring'.
Therefore here is offered a method from my library (... it looks somewhat complicated).
Apply action: Guess values
Source format (written as one line):
%TITLE%$regexp($replace(%ARTIST%,'/',' feat. '),'^(.+?)\s+[[({<]?\s*(?:featuring|feat\.?|ft\.?)\s*([^])}>]+)\>\s*[])}>]?(.*)$',' (feat. $2$3)===$1',1)Guessing pattern:
%TITLE%===%ARTIST%Result:
TITLE = Give It To Em (feat. Rick Ross)ARTIST = Akon
DD.20170810.1854.CEST
Thank You
Here is another method to reach the goal.
Create a helper tag-field ...
FEAT_ARTIST <== $cutLeft(%ARTIST%,$strrchr(%ARTIST%,'/'))... gives ... FEAT_ARTIST = 'Rick Ross'
... then write ...
... or ...
FEAT_ARTIST <== ' (feat. '$cutLeft(%ARTIST%,$strrchr(%ARTIST%,'/'))')'... gives ... FEAT_ARTIST = ' (feat. Rick Ross)'
... then write ...
Remove feat artist from ARTIST ...
ARTIST <== $left(%ARTIST%,$sub($strrchr(%ARTIST%,'/'),1))DD.20170810.2012.CEST