Extract part of Filename and Compare To Title

Hi there: I want to extract part of the filename and compare that value to the value in the Title field.

Basically, I want to compare everything after the first hyphen and before the file extension to the value in the Title field.

An example of my file name is:

Artist Name - Song Title.mp3

Mind you I want to be able to compare whatever comes after the hyphen and before the file extension even if it doesn't exactly match the example above.

Thanks!

What exactly do you want to do with Song Title in your example?
If you don't already have Song Title in the TITLE field, what do you want to do?
Replace the current content? Append it to the current content?

Or do you want to create a new custom column to visually compare it with TITLE?

I want to make sure the values match and if they don't I want to see which songs have unmatched values.

You could apply a filter
"$ifgreater($strstr($lower(%_filename%),$lower(%title%)),0,1,0)" IS "0"

You still have to check the files as variation could appear due to characters that are OK in a TITLE but are invalid in a filename.

If you want to get a column, enter as
Value: $ifgreater($strstr($lower(%_filename%),$lower(%title%)),0,Same,Differs)

Or you could add an new custom column.
As name you can choose whatever you want.
As Value use
$if($strcmp($regexp(%_FILENAME%,.*?- (.*),$1),%TITLE%),yes,no)

$strcmp(x,y)   compares strings x and y case-sensitively
$stricmp(x,y)  compares strings x and y case-INsensitively

This would look like this in Mp3tag:

As always if you use regular expressions: They only work for the given example.
In your case with some text in front of a space and a hyphen and a space and some other text that will be compared with the content of TITLE.

:+1:
In particular, characters such as : (colon) and ? (question mark), which frequently occur in TITLEs but are invalid in Windows filenames.
And some more:

< (less than)
> (greater than)
" (double quote)
/ (forward slash)
\ (backslash)
| (vertical bar or pipe)
* (asterisk)

thank you this worked perfectly for my purposes. thanks again!

thank you! this also worked for me - i appreciate the help!