Hi !
I try again and again but without any solution.
I read a lot of topic but nothing to soluce my problem.
When multiple files contain different expressions it is difficult to create the script.
I would like to replace the last parenthesis with a "-". Concrete example:
"(I Just) Died In Your Arms (Extended Remix)" TO "(I Just) Died In Your Arms - Extended Remix"
"I like chopin (Extended)" TO "I like chopin - Extended"
"(Go) breaking my earth (with you) (Single Mix)" TO "(Go) breaking my earth (with you) - Single Mix"
You could try and action of the type "Format value" for TITLE: $regexp(%title%,(.+) \((.*)\),$1 - $2)
Just a note: the hyphen is often part of the title itself so next time you want to deal with the classification it may be easier to have that part in characters that are usually not used in titles. The problem of not being unique occurred in your examples.
So consider to use e.g. square brackets to enclose "Remix" or "Extended"
-> "I like chopin [Extended]"
Regex is pretty much universal. What might vary from program to program is what extra characters need to be escaped because they have special meaning within the program.
This is a basic regex tutorial that should get you started with the syntax.
The best way I find to actually get comfortable with regex is to use them. This site is used in the video and also what I use to test and develop my regexes.
And this site can visualize regexes to help you understand what they do and find common pitfalls like using . instead of \..