# Removing expressions in parentheses and other brackets

**URL:** https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673
**Category:** Support
**Created:** [November 8, 2011, 6:35pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673 "2011-11-08T18:35:55Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![snowboarder\_1603](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@snowboarder\_1603](https://community.mp3tag.de/u/snowboarder_1603)
#### Post date: [November 8, 2011, 6:35pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/1 "2011-11-08T18:35:55Z")

</div>

I want to standardize my music collection, so all songs that are the same are easy to delete.

I've done a pretty good job so far, but i want to change things like this

Higher (Jody Den Broeder Radio Edit)

To:

Higher (Clean)

I don't care who made the song clean, i just need to know that it's a clean song. I've used replace for all the simple ones but i have a ton of these random radio edits. How do i go about doing this?

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 8, 2011, 7:44pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/2 "2011-11-08T19:44:02Z")

</div>

> [@snowboarder\_1603](#):
>
> Higher (Jody Den Broeder Radio Edit)
> 
> To:
> 
> Higher (Clean)

make yourself an action of the type "Replace with regular expression" for the field title.  
Enter as search string:  
(._) (._)  
enter as replace string:  
$1 (clean)

---

<div class="post-metadata">

### Author: ![snowboarder\_1603](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@snowboarder\_1603](https://community.mp3tag.de/u/snowboarder_1603)
#### Post date: [November 8, 2011, 7:49pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/3 "2011-11-08T19:49:26Z")

</div>

This is pretty close, but this will rename anything that has parentheses in it to [Clean], which would be wrong. I need some way to say if it contains the word radio, or clean to then change what's in parentheses to [Clean]

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 8, 2011, 7:58pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/4 "2011-11-08T19:58:12Z")

</div>

> [@snowboarder\_1603](#):
>
> ... i want to change things like this  
> Higher (Jody Den Broeder Radio Edit)  
> To:  
> Higher (Clean)  
> ...

This works for the filename ...

**$regexp(%\_filename%,'^(.+?) [[{(].+?[]})]$','$1 (Clean)')**

From:  
Higher {[(Jody Den Broeder Radio Edit)]}  
To:  
Higher (Clean)

DD.20111108.2158.CET

---

<div class="post-metadata">

### Author: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [November 8, 2011, 7:58pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/5 "2011-11-08T19:58:25Z")

</div>

> [@snowboarder\_1603](#):
>
> This is pretty close, but this will rename anything that has parentheses in it to [Clean], which would be wrong. I need some way to say if it contains the word radio, or clean to then change what's in parentheses to [Clean]

use a filter - which is quicker anyway  
%title% HAS "(" and %title% HAS radio OR %title% HAS clean

as the information about the mix or version is usually rather useful and rather hard to restore once it has been deleted, I would suggest to add a user-defined tag %clean% that could have the contents of your choice (e.g. "yes" and "no").  
This would keep the version of a track.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [November 8, 2011, 8:07pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/6 "2011-11-08T20:07:24Z")

</div>

> [@snowboarder\_1603](#):
>
> ... I need some way to say if it contains the word radio, or clean to then change what's in parentheses to [Clean]

This works for the filename ...

**$regexp(%\_filename%,'^(.+?) [[{(].\*(radio|clean).\*[]})]$','$1 [Clean]',1)**

From:  
Higher {[(Jody Den Broeder Radio Edit)]}  
To:  
Higher [Clean]

From:  
Higher [Clean]  
To:  
Higher [Clean]

DD.20111108.2208.CET

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:23pm UTC](https://community.mp3tag.de/t/removing-expressions-in-parentheses-and-other-brackets/12673/7 "2026-02-09T12:23:25Z")

</div>


