# Song Title (featuring Artist) (Extended Version) - removing the parenthesis of the featuring artist

**URL:** https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985
**Category:** Support
**Created:** [June 7, 2024, 1:45pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985 "2024-06-07T13:45:59Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Trev0rDan5](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@Trev0rDan5](https://community.mp3tag.de/u/Trev0rDan5)
#### Post date: [June 7, 2024, 1:45pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/1 "2024-06-07T13:45:59Z")

</div>

Hi all,

I am looking to remove the parenthesis of (feat. Artist) in the title field. From various searches in this community forum (thank you!), I have managed to do this with the following RegEx

`$regexp(%TITLE%,'[([]?(?:ft|feat|featuring)\.?\s+(.+)[)]]?\s*','feat. $1',1)`

Thing is, when I have "Song Title (feat. Artist) (Extended Version)", the above sets the title to "Song Title feat. Artists) (Extended Version", removing the parenthesis at the end very of the title, rather than the one at the end of the featuring artist.

I am sure it's something simple I am missing but I can't work it out.

Can anybody help?

Thank you!

---

<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: [June 7, 2024, 1:59pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/2 "2024-06-07T13:59:18Z")

</div>

To remove the first pair of parenthesis you could try:  
`$regexp('Song Title (feat. Artist) (Extended Version)','(.*?) \((.*?)\)(.*)','$1 $2$3')`

---

<div class="post-metadata">

### Author: ![Trev0rDan5](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@Trev0rDan5](https://community.mp3tag.de/u/Trev0rDan5)
#### Post date: [June 7, 2024, 2:06pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/3 "2024-06-07T14:06:16Z")

</div>

Hi there,

Thank you for your reply.

It's not necessary the first parenthesis I want to get rid of, it's just the ones around (feat. artist). I have some tracks where that is indeed the first set, but I also have tracks where it is the second; "Song Title (Radio Edit) (feat. Artist)"

I need to adapt the RegEx to take out the first "(" that precedes "feat." and then the next ")" that follows and I am not sure how I achieve this.

Again, thank you in advance

---

<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: [June 7, 2024, 2:24pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/4 "2024-06-07T14:24:54Z")

</div>

Try:  
`$regexp('Song Title (Extended Version) (feat. Artist)','(.*?) \((feat.*?)\)(\s*.*)','$1 $2$3')`  
Works also for  
`$regexp('Song Title (feat. Artist) (Extended Version)','(.*?) \((feat.*?)\)(\s*.*)','$1 $2$3')`  
and  
`$regexp('Song Title (Extended Version)','(.*?) \((feat.*?)\)(\s*.*)','$1 $2$3')`  
and  
`$regexp('Song Title (feat. Artist)','(.*?) \((feat.*?)\)(\s*.*)','$1 $2$3')`

---

<div class="post-metadata">

### Author: ![Trev0rDan5](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/b38774/32.png) [@Trev0rDan5](https://community.mp3tag.de/u/Trev0rDan5)
#### Post date: [June 7, 2024, 2:40pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/5 "2024-06-07T14:40:43Z")

</div>

> [@ohrenkino](#):
>
> $regexp('Song Title (Extended Version) (feat. Artist)','(._?) ((feat._?))(\s\*.\*)','$1 $2$3')

Top man!

`$regexp(%TITLE%,'(.*?) \((feat.*?)\)(\s*.*)','$1 $2$3') `

worked perfectly!

Thank you!

---

<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: [July 7, 2024, 2:41pm UTC](https://community.mp3tag.de/t/song-title-featuring-artist-extended-version-removing-the-parenthesis-of-the-featuring-artist/64985/6 "2024-07-07T14:41:05Z")

</div>

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