Replace Scripting Function Not working in the presence of Mathematical Characters

Here is my data:
image_2024-11-21_201744742

What I'd like to do is a replace from the Genre Field. I want to remove the Values of Sub Genre 1-3 from the genre field

Using:
$Replace(%Genre%,//%SUB GENRE 3%,)

I can successfully remove the value in sub genre 3 from the genre However the same cannot be said if I try that same scripting with Sub Genres 1 or 2. The Genre Field remains unchanged

The Mathematical Characters in the Genre & Sub Genre 2 Fields are "𝐏𝐌𝐎"

If anyone can recreate this scenario with some dummy fields please let me know if you can get it working. In cases like these I'm usually making a simple mistake. If not then mp3tag has some qualms with mathematical characters

I tried this successfully:
grafik
see the preview.

Or this:
grafik

and just to get the terms right:
You do not use an action to replace as the title of this thread indicates but you use a scripting function which may occur in generating format strings.
You would have to check now whether you use the correct syntax.
The easiest way would be to test the expression with the preview in Convert>Tag-Tag.

As per the documentation for scripting functions I am using:
$replace(x,y,z)
to perform this task.

I was able to get it working this morning so i must assume I had a syntax error. Either that or ripping a CD at the same time as tagging files is problematic for my PC. I believe the former is more likely.

Thanks Again