# Cut "segway" present in the title if "mashup" or "transition" are present

**URL:** https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481
**Category:** Support
**Created:** [April 22, 2024, 4:15pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481 "2024-04-22T16:15:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![corrado63](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@corrado63](https://community.mp3tag.de/u/corrado63)
#### Post date: [April 22, 2024, 4:15pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/1 "2024-04-22T16:15:44Z")

</div>

Hi, pardon my ignorance, I appreciate your time. Is my the first time .

this is the correct filter  
%title% HAS "segway" AND %title% HAS "Transition" OR %title% HAS "segway" AND %title% HAS "mashup"

how can put this filter in a Action?  
i want cut "segway" present in the title if the words "mashup" or "transition" are also present.

I tried following the FAQ and examples but I didn't find a solution or anything similar.  
thanks

 ![mp3tag_filter](https://community.mp3tag.de/uploads/default/original/3X/4/6/46f3ba4bc2273b9e8169a52844c59f78c679b3b4.png)

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 22, 2024, 4:18pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/2 "2024-04-22T16:18:00Z")

</div>

> [@corrado63](#):
>
> how can put this filter in a Action?

You can not set a filter in an Action.

You have to fill your filter manually as in your screenshot and then execute your Action for the selected tracks.

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 22, 2024, 4:21pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/3 "2024-04-22T16:21:35Z")

</div>

You could try to use the [scripting command](https://docs.mp3tag.de/scripting/#string-functions) `$strstr(x,y)` to check if your filter words are present in a track TITLE and only if found `$replace()` "segway" with nothing.

 ![image](https://community.mp3tag.de/uploads/default/original/3X/6/b/6bcdd8c43dacb22ffa649233e5b138479340596b.png)

---

<div class="post-metadata">

### Author: ![corrado63](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/58f4c7/32.png) [@corrado63](https://community.mp3tag.de/u/corrado63)
#### Post date: [April 22, 2024, 4:22pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/4 "2024-04-22T16:22:16Z")

</div>

thanks for the timely response, does this mean I have to manually act on the filtered names?

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [April 22, 2024, 4:24pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/5 "2024-04-22T16:24:02Z")

</div>

Yes.  
First activate/select/use the Filter F3.  
Then select all filtered tracks CTRL+A.  
Then execute your Action manually.

---

<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: [April 22, 2024, 5:00pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/6 "2024-04-22T17:00:48Z")

</div>

> [@corrado63](#):
>
> does this mean I have to manually act on the filtered names

You could use the scripting function $if() etc.

> **[Scripting Functions – Mp3tag Documentation](https://docs.mp3tag.de/scripting/#boolean-functions)**
>
> Documentation on Mp3tag's scripting functions. Mp3tag is the universal Tag Editor.

but I wonder if that is really the most straightforward way as I assume that such manipulations like cutting a specific word happen only very few times after the basic cleanup has been performed.  
And for the few times it is much easier to apply a filter and then execute an action on the filtered file than editing an action with complicated conditions and then apply it on more files than necessary.

---

<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: [May 22, 2024, 5:01pm UTC](https://community.mp3tag.de/t/cut-segway-present-in-the-title-if-mashup-or-transition-are-present/64481/7 "2024-05-22T17:01:26Z")

</div>

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