Delete words in brackets

Advanced Renamer forum
#1 : 05/04-24 18:57
Becquart
Becquart
Posts: 2
Hello,
I'd like to delete all the words in brackets and/or parentheses as well as the brackets and/or parentheses themselves. Which regular expression should I use? Thanks in advance!


05/04-24 18:57
#2 : 05/04-24 19:33
Miguel
Miguel
Posts: 136
Reply to #1:
Hi.
You don´t need any regular expression for this. Use the Advanced Renamer REPLACE method.

REPLACE: (*)/[*]
REPLACE WITH: (blank)

That´s all.
EDIT: if you still want to use regex, use this:
REPLACE: \[.+?\]|\(.+?\)
REPLACE WITH: (blank)


05/04-24 19:33 - edited 06/04-24 11:45