by Luuk » Sun Apr 16, 2023 5:25 am
With a checkmark inside for "v2", the "Match" part can look something like...
(?i)(?! \(Edited\)) \([^()]*\)/g
The " \([^()]*\)" is saying your " (*)" except that * cannot be more brackets inside of the brackets.
The (?! \(Edited\)) is a negative look-ahead, so he is telling " \([^()]*\)" to not match " (Edited)".
The (?i) says case-insensitive, so then also not matching any text like ' (edited)' or ' (Edited)'.
The /g says global, so this can remove many different " (*)" inside of the same filename.
If your files are like the other post, and you're only removing " (*)" from the very ends??
Then instead of using /g to say global, should change it to $ to say "at the very end".