# Remove Text from Parentheses on Title

**URL:** https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381
**Category:** Support
**Created:** [July 24, 2024, 11:26pm UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381 "2024-07-24T23:26:08Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Hollywood](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dbc845/32.png) [@Hollywood](https://community.mp3tag.de/u/Hollywood)
#### Post date: [July 24, 2024, 11:26pm UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/1 "2024-07-24T23:26:08Z")

</div>

You've helped with the generic Remove Parentheses from song Title. Now to be a little more specific with two more requests.

First, I would like to specify a word, like Remastered, and if the text in parenthesis contains that word (by itself or along with other text), delete the parenthesis (and text) from the track name.

Second, I would like to specify a word like Live, and if the text in parenthesis contains that word (by itself or along with other text), keep the parenthesis, but with only that word, (Live).

You guys are awesome! Fingers crossed.  
THANKS!

---

<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: [July 25, 2024, 4:57am UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/2 "2024-07-25T04:57:58Z")

</div>

See e.g. here:

> [@Delete in Title "(Remastered in year xxxx)"](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323):
>
> i searched in the forum but didn't find a solution. some albums have at the end of the title brackets which includes "remastered", like (remastered in 2020) (remastered in 2022) (remastered in new york) (2016 remastered) (remastered edition) how can i create an action for a title with the logic: "delete the brackets and the text within in case it contains the word remastered"?

---

<div class="post-metadata">

### Author: ![Hollywood](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dbc845/32.png) [@Hollywood](https://community.mp3tag.de/u/Hollywood)
#### Post date: [July 25, 2024, 6:32am UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/3 "2024-07-25T06:32:48Z")

</div>

You answered the  
question "First". It worked PERFECT! Thanks.

Remove parenthesis if it contains a word. in this case "remastered"` Use Convert > Tag-Tag > $regexp(%TITLE%,(.*)(\s\(.*remastered**`  
`.*\)),$1,1)`  
Although this works perfect, don't make my mistake and not notice "Remastered" vs "Remaster". 🙂

Can you help with the question, "Second". My goal is to reduce the length of  
song titles so there is not as much scrolling on some displays. If the parenthesis contains the word "live" with or without other text like the location or year, I would still like to retain the parenthesis with just the word "live" (live), but no other text.

In the link to answer the first question, there were options to ignore case. If possible, can this second question also ignore case? live = Live = LIVE.

I am keeping notes and can substitute some text here and there, but these formulas are way beyond my ability. Thank you guys so much for helping!

---

<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: [July 25, 2024, 6:37am UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/4 "2024-07-25T06:37:56Z")

</div>

Use the already known regular expression  
and modify it to  
`$regexp(%TITLE%,(.*)(\s\(.*Live.*\)),'$1 (Live)')`

The expression

> [@Hollywood](#):
>
> `$regexp(%TITLE%,(.*)(\s\(.*remastered**.*\)),$1,1)`

Has an asterisc too much

---

<div class="post-metadata">

### Author: ![Hollywood](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/dbc845/32.png) [@Hollywood](https://community.mp3tag.de/u/Hollywood)
#### Post date: [July 25, 2024, 6:59am UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/5 "2024-07-25T06:59:37Z")

</div>

Again, that worked PERFECT! Thank AGAIN.

The previous "First" question solution was taken from another post so I tried to paste the solution here, but the forum software added quoting characters when I pasted. Sorry I didn't catch that one.

---

<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: [August 24, 2024, 7:00am UTC](https://community.mp3tag.de/t/remove-text-from-parentheses-on-title/65381/6 "2024-08-24T07:00:02Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
