Conversion of a bunch of similar filenames

Among other things, I have an MP3 collection of 211 files without tags.
I would like to generate basic information from the file names.
However, these are slightly different in their structure.
I have searched in vain for a way to pre-sort them.
Who has a suitable idea for editing them using Guess-Values?

Dateiliste.txt (20.5 KB)

You could filter for files with a given number of hyphens and then treat these (with a common structure) in 1 go. And then filter for the next number and treat those.

This would be a suggestion for such a filter:
"$add($len($regexp(%_filename%,'[^-]',)),1)" IS 5

Wow! :smiley:
It worked.
I tried to understand the tricky filter expression, but failed again.

Many thanks to regex guru. :hugs:

The regular expression removes anything that is not a hyphen from the given string (here: Filename) and then checks the length of the leftover

$add($len($regexp('24 - Bobby Fuller - D - CBS - 2639 - B - You Kiss Me.mp3','[^-]',)),1)
returns 7
$add($len($regexp('03 - Blossom Toes - D - Polydor 59180 - A - Ill Be Your Baby Tonight.mp3','[^-]',)),1)
returns 6

I've got it.
I searched in vain for a way to count the hyphens using a function.
You made my day! :slightly_smiling_face: