get rid of content between brackets

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Karrewiet
Junior Member
Junior Member
Posts: 2
Joined: 2025-05-27, 14:24 UTC

get rid of content between brackets

Post by *Karrewiet »

Hello, I'm new on this site and I've searched for a while but didn't find a solution. So here's my problem:

Some audio files have notation between brackets. I want to get rid of these brackets en their content.
For example :

Peter Frampton - All of us (live).mp3 => Peter Frampton - All of us.mp3
Thanks in advance !
User avatar
Dalai
Power Member
Power Member
Posts: 10016
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: get rid of content between brackets

Post by *Dalai »

This should work, except any spaces before the brackets.

Search for:

Code: Select all

\(.+\)
Replace with:

Code: Select all

<Clear>
(or empty value)
[X] RegEx
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
ZoSTeR
Power Member
Power Member
Posts: 1052
Joined: 2004-07-29, 11:00 UTC

Re: get rid of content between brackets

Post by *ZoSTeR »

Code: Select all

\s*\([^)]*\)
Removes spaces before the brackets.
Karrewiet
Junior Member
Junior Member
Posts: 2
Joined: 2025-05-27, 14:24 UTC

Re: get rid of content between brackets

Post by *Karrewiet »

Dalai & ZoSTeR,
This works fine!! Thanks a lot !!
Post Reply