Trying to combine file name parts to a tag in different order

I receive many mp3 audio files for dance comps. The format is always fixed. If is a duet so two names the format is catagory_level_1st person last name_1st person first name_2nd person first name_2nd person lastname.

id like title to be names as 1st person first 1st person last & 2nd person first 2nd person last
then catagory to Artist and level to Album

I'm doing it with several passes now
convert filename>tag with %artist%_%album%_%composer%_%title%_%genre%_%comment%
so now name parts are in several "temp" locations

second pass puts name parts all together in right order
convert tag>tag with %title% %composer% & %genre% %comment%

then clear all temp stuff from composer, genre and comments

I gotta think there is a better way of doing this all directly but can' figure one out!!

*** ok when I posted this the convert filename to tag separators _ got dropped between most of the six tag types no idea why

thanks for any ideas
chip

See here for formatting hints:

I am not sure that I understand what happens as you use regular field names and call them

In which field do you want the data to appear? TITLE or are we talking about the filename (which is not really a tag field)

Could you show us a real filename, the function with which you retrieve the data and the desired result?

real filename as emailed to me:
Jazz group_level3_Jones_Suzie_Annie_Brown.mp3

want TITLE to be Suzie Jones & Annie Brown
ARTIST to be Jazz group
ALBUM to be level 3

Try an action group of the type "Guess value"
Source string: $replace($regexp(%_filename%,(.*?)_(.*?)_(.*),$1==$2==$3),_, )
Guessing pattern: %artist%==%album%==%title%

The & will have to be entered manually as it is hard to guess where to split the 4 words