Replace a set of parentheses with a single dash

Hello,

I would like to rename files that are structured as follows:

[Genre] Title (Subtitle).mkv
to
[Genre] Title - Subtitle.mkv

I have tried: (.*)([\(\)]+)(.*)# to \1- \3

But the issue is that the "-" gets repeated.

Many thanks in advance.

Parameters for the Advanced Renamer
Mode: Regular Expressions
Old name: (.*) \((.*)\)
New name: \1 - \2
Ignore extension: checked

image


A linked account is good forum etiquette.

1 Like

Many thanks for your answer, it works indeed.

If I may, is there a way to only apply it to alpha chars ?

That is: If it's [Genre] Title (subtitle).mp3, then apply the change. But, if the filename is: [Genre] Title (03.09.2023).mp3, then keep the parentheses ?