# Remove Parenthesis at very end..

**URL:** https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463
**Category:** Support
**Created:** [August 31, 2011, 6:27am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463 "2011-08-31T06:27:49Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![darkmanx1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@darkmanx1](https://community.mp3tag.de/u/darkmanx1)
#### Post date: [August 31, 2011, 6:27am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/1 "2011-08-31T06:27:49Z")

</div>

I have most of the Actions set up..

I have one that renames all forms of featuring to ft. but it always leaves a parenthesis at the end but will remove the parenthesis in the beginning.

Example -

Artist - Title ft. Artist 1 & Artist2)

I don't mind going in and removing the last ")" manually but it gets annoying once you've been spoiled by automation.

Any one know what I'm doing wrong? Perhaps a quick solution?

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [August 31, 2011, 6:39am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/2 "2011-08-31T06:39:30Z")

</div>

What about replace ?

[Actions](https://community.mp3tag.de/t/967/4)

or Removing of a certain number of leading chars in, that Faq Topic it also list an example on how to remove the last number of characters.

[Actions](https://community.mp3tag.de/t/967/8)

---

<div class="post-metadata">

### Author: ![darkmanx1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@darkmanx1](https://community.mp3tag.de/u/darkmanx1)
#### Post date: [August 31, 2011, 6:51am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/3 "2011-08-31T06:51:20Z")

</div>

I don't need to replace it - just remove it.

In the example, a normal filename like this:

Artist - Title (featuring Artist1 & Artist 2)

works out to be

Artists - Title ft. Artist1 & Artist2)

so it removes the first one (I understand why) but I can't figure out how to remove the last one. If I do the removal of characters it will remove anything that is last, right? I don't want that happening. Right now the action only changes the tag if some form of "Featuring" is there - if not it ignores it.

Thanks for your help!

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [August 31, 2011, 7:03am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/4 "2011-08-31T07:03:09Z")

</div>

In the link I gave you about replace in the Faq it says: "On Replace with you enter the text that replaces the string in Original. _ **If you leave it empty, the string will be deleted.** _"

---

<div class="post-metadata">

### Author: ![darkmanx1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/4af34b/32.png) [@darkmanx1](https://community.mp3tag.de/u/darkmanx1)
#### Post date: [August 31, 2011, 7:08am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/5 "2011-08-31T07:08:06Z")

</div>

Yeah, that works - was just wondering if I could have done it without creating another Action. No problem. It solves the problem!

Thanks!

---

<div class="post-metadata">

### Author: ![mjcm](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/m/9d8465/32.png) [@mjcm](https://community.mp3tag.de/u/mjcm)
#### Post date: [August 31, 2011, 7:13am UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/6 "2011-08-31T07:13:06Z")

</div>

The only problem with replace is that it removes all ")" characters.

So if you have for example

ARTIST - TITLE (Remix) ft. ARTIST & ARTIST2)

You get as result: ARTIST - TITLE (Remix ft. ARTIST & ARTIST2 (So missing both end ")" characters.

I think better is to use:  
The replace with Regular Expression Action and then as Regluar Expression enter  
**.{1}$**.  
As field enter TITLE (Not to use on \_FILENAME)

As listed in [Actions](https://community.mp3tag.de/t/967/8)

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [August 31, 2011, 12:45pm UTC](https://community.mp3tag.de/t/remove-parenthesis-at-very-end/12463/7 "2011-08-31T12:45:56Z")

</div>

> [@darkmanx1](#):
>
> Yeah, that works - was just wondering if I could have done it without creating another Action. No problem. It solves the problem!
> 
> Thanks!

Try this. But filter out music in itunes or whatever you use and then drag that content to mp3tag. As this is quicker than dragging ALL your music to this app and then filtering unless your working on all your music. IN which case hit F3 in mp3tag and type "%\_filename% HAS feat"

_Action type:_ **Replace with regular expression**  
_Field:_ **\_FILENAME**  
_Regular expression:_ **^(.+)\s((featuring|(feat.|(feat)\s(.+)())**  
_Replace matches with:_ **$1 ft. $3**

[] case-sensitive comparison

This will replace the filename:  
Artist - Title (Featuring Artist1 & Artist 2)  
Artist - Title (Feat. Artist1 & Artist 2)  
Artist - Title (Feat Artist1 & Artist 2)

To:  
Artist - Title ft. Artist1 & Artist 2

---

<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/remove-parenthesis-at-very-end/12463/8 "2026-02-09T12:23:19Z")

</div>


