# Delete All Text After Word

**URL:** <https://community.mp3tag.de/t/delete-all-text-after-word/17213>\
**Category:** Support\
**Created:** [September 7, 2015, 11:18am UTC](https://community.mp3tag.de/t/delete-all-text-after-word/17213 "2015-09-07T11:18:07Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [September 7, 2015, 12:14pm UTC](https://community.mp3tag.de/t/delete-all-text-after-word/17213/2 "2015-09-07T12:14:35Z")

</div>

> [@nanogirl21](#):
>
> ... would like to delete all text in the TITLE tag after the word FEAT.
> 
> **Current Format Example**  
> The Five Perfect Exertions - Feat. Bahamadia, 7l & Esoteric  
> Stonez of Christ - Feat. Jus Allah  
> Saviorself feat. Kill Priest  
> The Kingdom That Worshipped the Dead feat. Dilated Peoples  
> And Your Blood Will Blot Out the Sun feat. Immortal Technique & Poison Pen  
> Walk with Me feat. Gutta
> 
> **What I Would Like**  
> The Five Perfect Exertions  
> Stonez of Christ  
> Saviorself  
> The Kingdom That Worshipped the Dead  
> And Your Blood Will Blot Out the Sun  
> Walk with Me  
> ...

You have to treat those with a hyphen and those without a hyphen separately.  
So:  
Load the files into MP3tag.  
Apply a filter to get those with a hyphen:  
%title% HAS "- feat"

Select all files (Ctrl-A).  
Create an action of the type "Guess values (import value)" for TITLE (see the FAQs [/t/967/1](https://community.mp3tag.de/t/967/1) on how to create an action)  
Enter as  
Guessing pattern: %title% - feat %dummy%

Now filter again:  
%title% HAS " feat"

Select all files (Ctrl-A)  
Create another action of the type "Guess values" for TITLE  
Guessing pattern: %title% feat %dummy%

---

_[View the full topic](https://community.mp3tag.de/t/delete-all-text-after-word/17213)._
