# Two $if functions for the title

**URL:** https://community.mp3tag.de/t/two-if-functions-for-the-title/16034
**Category:** Support
**Created:** [August 21, 2014, 11:46am UTC](https://community.mp3tag.de/t/two-if-functions-for-the-title/16034 "2014-08-21T11:46:22Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![thaw04](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/t/73ab20/32.png) [@thaw04](https://community.mp3tag.de/u/thaw04)
#### Post date: [August 21, 2014, 11:46am UTC](https://community.mp3tag.de/t/two-if-functions-for-the-title/16034/1 "2014-08-21T11:46:22Z")

</div>

This is by far my favorite program and since i recently got a large pile of files to tag i looked into optimizing my actions.  
I figured out every wish i have with the information on this forum except for two i couldnt make it work at the end:

I hope you can help with these situations:

1. Remove the Feat. in every situation in the title:  
**Test Ft. Test (Test Remix) --\> Test (Test Remix)**

I tried it with a regex: `\(.+?\)` but with no luck to only remove the Feat. part of the title.

1. Remove the (Instrumental Version) if the album is only instrumentals;  
IF %album% end with (Instrumentals) remove the text (Instrumental Version) in the title;

I came up with this but obviously it is not perfect yet:

**Format title**  
`$if($eql($right(%album%,2),(Instrumentals)),$regexp(%title%,\(.+?\),%title%)`

Thanks in advance!

---

_[View the full topic](https://community.mp3tag.de/t/two-if-functions-for-the-title/16034)._
