This is going to be a simple question, but for some reason I am stuck in getting the result I want.
I am formatting file names, and I am wanting to make use of my %artist% field but not the whole thing...
For instance, If I have a track that is a duet:
%artist% = U2/B.B. King
I want to grab something before the / and put that into the file name.
I tried using something like $regexp(%artist%,(\w*?)/.+,$1)
This is not working, and for some reason I am not seeing how I should be doing it. I am especially concerned about cases where there may not be 2 artists (i.e. no / character) and also cases where there are going to be spaces, periods, etc.
Maybe I am looking for something too complicated.
If anyone has any suggestions or even a start, I'll appreciate it.