Remove Brackets, (and everything inside them)

Bulk Rename Utility How-To's

Remove Brackets, (and everything inside them)

Postby ozcyclops » Thu Jul 10, 2025 6:48 am

Hello everyone. Please, how can I remove a set of brackets, (), {} or [], AND everything inside those brackets. For example, (REMASTERED 2023), {live version} or [1971]. Thank you all.
ozcyclops
 
Posts: 2
Joined: Thu Jul 10, 2025 6:44 am

Re: Brackets, (and everything inside them)

Postby Admin » Thu Jul 10, 2025 7:10 am

In Replace (3) -> Replace box, enter: ( * )|{ * }|[ * ] , With: (leave blank)
( * )|{ * }|[ * ] (the | indicates multiple replacements).
You could also activate D/S (double spaces) in Remove (5) to remove double spaces that could happen after replacements.
Admin
Site Admin
 
Posts: 3006
Joined: Tue Mar 08, 2005 8:39 pm

Re: Brackets, (and everything inside them)

Postby ozcyclops » Thu Jul 10, 2025 8:37 am

Thank you so much
ozcyclops
 
Posts: 2
Joined: Thu Jul 10, 2025 6:44 am

Re: Remove Brackets, (and everything inside them)

Postby Alo99 » Sat Jul 19, 2025 2:13 pm

This didn't work for me.
I have version 3.4.1 o f BN.


At the end of the file I have these expressions.


(1024p_24fps_H264-_AAC)
(1920p_60fps_H264-_AAC)
(1920p_30fps_H264-_AAC)
(1280p_30fps_H264-_AAC)
(2560p_30fps_AV1-_AAC)

It won't work. Is there something I am missing?
Alo99
 
Posts: 1
Joined: Sat Jul 19, 2025 1:54 pm

Remove ending " (####p_##fps_*)"

Postby Luuk » Sun Jul 20, 2025 12:53 am

@Alo99: Replace(3) didnt have wildcard support until v3.5.0.0
So can either upgrade, or use RegEx(1) with a checkmark for "v2", so then a "Match" like...
\ *\(\d+p_\d+fps_.*?\)$
Luuk
 
Posts: 827
Joined: Fri Feb 21, 2020 10:58 pm


Return to How-To