Another attempt would be to use a regular expression.
This would include your 4th example with the leading year in brackets.
You could use the Convert Tag -> Tag (Alt+5) with a preview
Field: TITLE
Format string: $regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)
Search and group together any character in TITLE until a space and an opening bracket is found.
Group together the space, the opening bracket and whatever is found before the word remastered and after the word remastered including the closing bracket. $regexp: Leave only everything found before the opening bracket and the space (in the captured group $1) and delete everything else.
Of course you can also use the same format string in an Action "Replace with regular expression".
And as always for regular expressions: They are case-sensitive.
(The word Remastered would not be matched and therefore not replaced)
to summarize for future searches from other people:
option 1:
guess value:
%title% (remastered%dummy%`
it does not delete brackets where the word remastered is not at the beginning. Otherwise it works (e.g. "(remastered in 2022)" - it is case sensitive -all perfectly described by @ohrenkino above.
option 2:
tag to tag $regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)
this is case senstivie. $regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1,1)
this is not case sensitive.
This option allows that the word "remastered" can be somewhere in the bracket and the whole bracket will be deleted.
described perfectly above from @LyricsLover.
@LyricsLover you were right - i did a mistake in terms of capital letter. But the additional 1 in your short video will resolve this as well.
again, thank you both for this fast and great support.
I read it and understand it in general, but even if i read the FAQs, i don't get it.
$regexp(%TITLE%,(.*)(\s(.remastered.)),$1)
$regexp = OK
(%TITLE%, = OK
(.*)(\s(.remastered.)) --> which parts are "together" and represent "what"?
(.*) = group #1 = Any character .* before the following group = represented as $1 (\s\(.*remastered.*\)) = group #2 = A space \s, an opening bracket \(, any character .*, the word "remastered", any character .*, the closing bracket \) = represented as $2. The content of this second capturing group $2 is not used in the $regexp-formula.