# Exclusively omitting "(feat. \_\_\_\_ )" from all track titles

**URL:** <https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882>\
**Category:** Support\
**Created:** [July 12, 2019, 11:21pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882 "2019-07-12T23:21:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kramerman342](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kramerman342/32/6650_2.png) [@kramerman342](https://community.mp3tag.de/u/kramerman342)\
**Post date:** [July 12, 2019, 11:21pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/1 "2019-07-12T23:21:22Z")

</div>

I've recently made a post about removing the "(feat. \_\_\_\_ )" portion from the TITLE field of a tracks like this:  
Legends (feat. Kalibwoy) (SuddenBeatz Remix)

I was kindly pointed in the right direction of using  
Format Value  
Field \> TITLE  
Format String \> `$regexp(%title%,(.*)\(.*\) (.*),$1$2)`  
which brought me to the desired result of  
Legends (SuddenBeatz Remix)

Moving forward from that, though, I have other tracks that are not remixes, such as  
Nightmare (feat. Pusha T & Barrington Levy)  
And when I attempt to use the same method on these, the results remain  
Nightmare (feat. Pusha T & Barrington Levy)

Is there a way I can effectively change both kinds of tracks at once from this:  
Legends (feat. Kalibwoy) (SuddenBeatz Remix)  
Nightmare (feat. Pusha T & Barrington Levy)

To This:  
Legends (SuddenBeatz Remix)  
Nightmare

(Special Thanks to ohrenkino for helping me on my last post!)

---

<div class="post-metadata">

**Author:** ![kramerman342](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kramerman342/32/6650_2.png) [@kramerman342](https://community.mp3tag.de/u/kramerman342)\
**Post date:** [July 13, 2019, 2:48am UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/2 "2019-07-13T02:48:28Z")

</div>

Ah! After fiddling around with the function I had been using (and another that [ohrenkino](https://community.mp3tag.de/u/ohrenkino) had given me to use) I was able to recognize some of what each part of the function actually does.  
By using this:  
$regexp(%title%,\feat.\*?\),)

I finally figured out that if I simply add a space before the rest of the expression part of the function, it works for my purposes perfectly!  
$regexp(%title%, \feat.\*?\),)  
was the function that worked. I didn't expect my solution to be so close to what he had already provided me!

Either way, thanks again ohrenkino!

---

<div class="post-metadata">

**Author:** ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Post date:** [July 13, 2019, 4:06pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/3 "2019-07-13T16:06:15Z")

</div>

> [@kramerman342](#):
>
> Format String \> `$regexp(%title%,(.*)\(.*\) (.*),$1$2)`

This should probably be: `$regexp(%title%,(.*)\s*\([^()]*\)\s*(.*),$1 $2)`. This removes the _first_ pair of round parentheses and all of its enclosed contents. It could be elaborated a bit: `$regexp(%title%,(.*)\s*\(f(?:ea)t(?:\.|uring)?\b[^()]*\)\s*(.*),$1 $2)`

---

<div class="post-metadata">

**Author:** ![kramerman342](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kramerman342/32/6650_2.png) [@kramerman342](https://community.mp3tag.de/u/kramerman342)\
**Post date:** [July 13, 2019, 5:37pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/4 "2019-07-13T17:37:05Z")

</div>

Ah so to be sure, if I'm reading this correctly, this will remove the set of parenthesis (and its contents) if ANY of these forms are used:  
(ft. \_\_\_\_ )  
(feat. \_\_\_\_ )  
(featuring \_\_\_\_ )

That's a good idea, thank you!

---

<div class="post-metadata">

**Author:** ![Crissov](https://community.mp3tag.de/user_avatar/community.mp3tag.de/crissov/32/6619_2.png) [@Crissov](https://community.mp3tag.de/u/Crissov)\
**Post date:** [July 13, 2019, 10:06pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/5 "2019-07-13T22:06:53Z")

</div>

Yes, and the trailing period would be optional.

---

<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 12, 2019, 10:06pm UTC](https://community.mp3tag.de/t/exclusively-omitting-feat-from-all-track-titles/45882/6 "2019-08-12T22:06:55Z")

</div>

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