# Delete in Title "(Remastered in year xxxx)"

**URL:** https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323
**Category:** Support
**Created:** [March 11, 2023, 10:09am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323 "2023-03-11T10:09:21Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 10:09am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/1 "2023-03-11T10:09:21Z")

</div>

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: ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)
#### Post date: [March 11, 2023, 10:45am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/2 "2023-03-11T10:45:44Z")

</div>

> [@music-laura](#):
>
> some albums

You could try an action of the type "Guess value"  
Source: %album%  
Target string: `%album% (remastered%dummy%`

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 11:34am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/3 "2023-03-11T11:34:28Z")

</div>

it is the title, not album.

---

<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: [March 11, 2023, 11:44am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/4 "2023-03-11T11:44:32Z")

</div>

> [@music-laura](#):
>
> it is the title

So it would be  
You could try an action of the type "Guess value"  
Source: %title%  
Target string: `%title% (remastered%dummy%`

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 11:47am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/5 "2023-03-11T11:47:32Z")

</div>

> [@ohrenkino](#):
>
> %title% (remastered%dummy%

thank you first of all. I switched "album" with "title" already and tried it but it does not work. the brackets as my example above remains.

---

<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: [March 11, 2023, 11:49am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/6 "2023-03-11T11:49:18Z")

</div>

You could try  
Target string: %title% (%dummy%

But filter for the files in which you want to remove the parts in brackets first.  
The action is case-sensitive, BTW.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 11, 2023, 12:23pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/7 "2023-03-11T12:23:17Z")

</div>

Another attempt would be to use a regular expression.

This would include your 4th example with the leading year in brackets.  
You could use the Convert Tag -\> Tag (Alt+5) with a preview  
Field: TITLE  
Format string:  
`$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)`

![image](https://community.mp3tag.de/uploads/default/original/2X/b/bfe5627e74d5e247d6cd780d8ef89e9c07482d4a.png)

Explanation:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/cf5d04576c1a54e98a3da7a50a6d365f085c6489.png)

Search and group together any character in TITLE until a space and an opening bracket is found.  
Group together the space, the opening bracket and whatever is found before the word remastered and after the word remastered including the closing bracket.  
`$regexp:` Leave only everything found before the opening bracket and the space (in the captured group `$1`) and delete everything else.

Of course you can also use the same format string in an Action "Replace with regular expression".

And as always for regular expressions: They are case-sensitive.  
(The word **R** emastered would not be matched and therefore not replaced)

 ![image](https://community.mp3tag.de/uploads/default/original/2X/3/31f394e5c840b6a98f87e37318358d0111011801.png)

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 4:03pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/8 "2023-03-11T16:03:40Z")

</div>

%title% (%dummy%  
works half way.

because imagine the title is:

- Love (Live) (Remastered 2022)  
Your approach will also delete "(Live)". But this should stay.

It also does not work when the year is at the beginning or something else like:

- (2013 Remastered)

@LyricsLover  
your approach dos not work as well.

The logic must be: Delete the brackets and its content when the word "Remastered" is within the brackets.

---

<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: [March 11, 2023, 4:05pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/9 "2023-03-11T16:05:41Z")

</div>

That is why I said

> [@ohrenkino](#):
>
> But filter for the files in which you want to remove the parts in brackets first

something like  
%title% HAS "remaster" AND %title% HAS "("

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 11, 2023, 4:12pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/10 "2023-03-11T16:12:07Z")

</div>

> [@music-laura](#):
>
> @LyricsLover  
> your approach dos not work as well.

Please let us know a real example where this not work for you.

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 4:19pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/11 "2023-03-11T16:19:44Z")

</div>

I will try it now.

Examples:

- Winds (Remastered 2023)
- Queen (Remastered)
- Va (2013 Remastered)
- Neshabur (Live) (Remastered 2022)
- Nel (Remastered in 2000)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 11, 2023, 4:28pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/12 "2023-03-11T16:28:07Z")

</div>

> [@music-laura](#):
>
> Nel (Remastered in 2000)

They all work fine:  
 ![Remove remastered text in brackets case insensitive](https://community.mp3tag.de/uploads/default/original/2X/2/259da33fb17314148139e46778257a6920661a12.gif)

At least if you follow my advise above to make a regular expression case **IN** sensitive.

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 9:49pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/13 "2023-03-11T21:49:19Z")

</div>

it worked, thank you.

to summarize for future searches from other people:

option 1:  
guess value:  
%title% (remastered%dummy%`  
it does not delete brackets where the word remastered is not at the beginning. Otherwise it works (e.g. "(remastered in 2022)" - it is case sensitive -all perfectly described by @ohrenkino above.

option 2:  
tag to tag  
`$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)`  
this is case senstivie.  
`$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1,1)`  
this is not case sensitive.  
This option allows that the word "remastered" can be somewhere in the bracket and the whole bracket will be deleted.  
described perfectly above from @LyricsLover.

@LyricsLover you were right - i did a mistake in terms of capital letter. But the additional 1 in your short video will resolve this as well.

again, thank you both for this fast and great support.

---

<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: [March 11, 2023, 9:54pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/14 "2023-03-11T21:54:59Z")

</div>

> [@music-laura](#):
>
> `$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)`  
> this is not case sensitive.

Looks just like

> [@music-laura](#):
>
> `$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1)`  
> this is case senstivie.

To be not case sensitive, it should be  
`$regexp(%TITLE%,(.*)(\s\(.*remastered.*\)),$1,1)`

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 11, 2023, 10:17pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/15 "2023-03-11T22:17:40Z")

</div>

it is too late 🙂 - just corrected it.

@LyricsLover  
can you explain me in your words the part:  
`"(.*)(\s\(.*remastered.*\)),$1"` - with your own words.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 11, 2023, 11:05pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/16 "2023-03-11T23:05:33Z")

</div>

> [@music-laura](#):
>
> can you explain me in your own words the part...

I'm not sure what other words I could use then the one I already wrote and what you commented as

> [@music-laura](#):
>
> described perfectly above from @LyricsLover.

in

> [@Delete in Title "(Remastered in year xxxx)"](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/7):
>
> Another attempt would be to use a regular expression. This would include your 4th example with the leading year in brackets. You could use the Convert Tag -\> Tag (Alt+5) with a preview Field: TITLE Format string: $regexp(%TITLE%,(.\*)(\s\(.\*remastered.\*\)),$1) [image] Explanation: Search and group together any character in TITLE until a space and an opening bracket is found. Group together the space, the opening bracket and whatever is found before the word remastered and after…

For which part of my text or the picture do you need some more/other words from me?

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 12, 2023, 9:31am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/17 "2023-03-12T09:31:07Z")

</div>

> [@Delete in Title "(Remastered in year xxxx)"](#):
>
> $regexp(%TITLE%,(.\*)(\s(._remastered._)),$1)

I read it and understand it in general, but even if i read the FAQs, i don't get it.  
$regexp(%TITLE%,(.\*)(\s(._remastered._)),$1)  
$regexp = OK  
(%TITLE%, = OK

(.\*)(\s(._remastered._)) --\> which parts are "together" and represent "what"?

,$1) = OK

---

<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: [March 12, 2023, 9:40am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/18 "2023-03-12T09:40:18Z")

</div>

2 things:  
could you please follow the request in respect to formatting support queries?

> [@Hints for asking Support Requests](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-formatting-when-necessary-4):
>
> If you need support using Mp3tag, you can help the community members that are about to support you in finding a solution or workaround to your problem, by following these simple guidelines. Be descriptive, also in what you’ve already tried Please give a short explanation what’s not working as expected or what you’re trying to achieve. It’s best to know any details about the problem at hand and especially, what steps you’ve already tried to solve it by yourself. Helpful information also includ…

The code example in your post

> [@music-laura](#):
>
> $regexp(%TITLE%,(.\*)(\s(._remastered._)),$1)

does not show correcty.

Second, have a look at the documentation for regular expressions:

> **[Regular Expressions – Mp3tag Documentation](https://docs.mp3tag.de/regex/)**
>
> Documentation on support for regular expressions in Mp3tag. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [March 12, 2023, 10:05am UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/19 "2023-03-12T10:05:29Z")

</div>

> [@music-laura](#):
>
> `(.*)(\s\(.*remastered.*\))` --\> which parts are "together" and represent "what"?

This picture already explains it:

 ![image](https://community.mp3tag.de/uploads/default/original/2X/c/cf5d04576c1a54e98a3da7a50a6d365f085c6489.png)

`(.*)` = group #1 = Any character `.*` before the following group = represented as `$1`  
`(\s\(.*remastered.*\))` = group #2 = A space `\s`, an opening bracket `\(`, any character `.*`, the word "remastered", any character `.*`, the closing bracket `\)` = represented as `$2`. The content of this second capturing group `$2` is not used in the `$regexp`-formula.

---

<div class="post-metadata">

### Author: ![music-laura](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/a4c791/32.png) [@music-laura](https://community.mp3tag.de/u/music-laura)
#### Post date: [March 12, 2023, 12:48pm UTC](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323/20 "2023-03-12T12:48:03Z")

</div>

> [@ohrenkino](#):
>
> could you please follow the request in respect to formatting support queries?

for the future, i will follow the formatting 🙂

> [@ohrenkino](#):
>
> Second, have a look at the documentation for regular expressions:

i did look at it but did not find the dot "." like ".\*" in the example above.

> [@LyricsLover](#):
>
> This picture already explains it:

i understood the picture. But each part in the bracket was difficult for me to read. however, your description here helped me a lot now:

> [@LyricsLover](#):
>
> `(.*)` = group #1 = Any character `.*` before the following group = represented as `$1`  
> `(\s\(.*remastered.*\))` = group #2 = A space `\s`, an opening bracket `\(`, any character `.*`, the word "remastered", any character `.*`, the closing bracket `\)` = represented as `$2`. The content of this second capturing group `$2` is not used in the `$regexp`-formula.

thank you very much!

[Next page](https://community.mp3tag.de/t/delete-in-title-remastered-in-year-xxxx/60323.md?page=2)
