Auster
October 16, 2011, 10:47am
1
Is there a way how I can do this:
ARTIST: John Lewis:Mick Jagger;Ringo Harrison
-->
ARTISTSORT: Lewis, John;Jagger, Mick;Harrison, Ringo
I have found (and used it) solution how to make this if I have only one artist in ARTIST tag, but how can I do it if there's more than one artist in that tag?
dano
October 16, 2011, 11:26am
2
Action type: Format value
Field: ARTISTSORT
Format string: %artist%
Action type: Replace with regular expression
Field: ARTISTSORT
Regular expression: ([^;]+)\s([^;]+)
Replace matches with: $2, $1
Auster
October 16, 2011, 12:30pm
3
Dano, thank you very much!
dano:
Action type: Format value
Field: ARTISTSORT
Format string: %artist%
Action type: Replace with regular expression
Field: ARTISTSORT
Regular expression: ([^;]+)\s([^;]+)
Replace matches with: $2, $1