Greetings, I am new here and to Mp3tag overall. Spent about 3 hours browsing the forums. Got a few answers already to some other questions I had (How to remove "The" from the artists, and How to remove any feat. ft. etc. from the AlbumArtist). I wish to use tools to batch sort all the mp3 files each in its own AlbumArtist folder. But although I now know how to remove the "feat. + everything after it" using the Format Value: $regexp(%ALBUMARTIST%,'^(.+?)\s+[[({]?(?:ft.?|feat.?|featuring)\s+(?:[^][(){}]+)[])}]?(\s*.+)?$','$1$2',1), and most AlbumArtist values are "clean", some of them still have the additional artists in the field of AlbumArtist, separated with dashes. How can I remove the dahes and everything after them?
Example:
I see this: Usher-Lil Jon-Ludacris
I want to see: Usher
To keep only the first name/words (until the first dash) and delete all the rest. I understand that some artists have names that contain a dash, like Jan-Paul, or A-ha or Static-X. But they aren't that many, can fix them manually or filter them out before applying the action.
Is there anything I can add to the initial action (or create a new one) to accomodate the need above?