# Remove text from a filename

**URL:** <https://community.mp3tag.de/t/remove-text-from-a-filename/48255>\
**Category:** Support\
**Created:** [March 23, 2020, 11:45pm UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255 "2020-03-23T23:45:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bd6675](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@bd6675](https://community.mp3tag.de/u/bd6675)\
**Post date:** [March 23, 2020, 11:45pm UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/1 "2020-03-23T23:45:51Z")

</div>

Hello there,

I could use some help removing text from a filename. Basically I want to remove all text after a specific word (including the word). For example:

Filename: 07 Blue Yodel No. 9 (Standin' On The Corner) (mono) - Jimmie Rodgers3.wav

In this instance I want to remove everything after (AND INCLUDING) "(mono)"

Thanks in advance for the assistance,

BD6675

---

<div class="post-metadata">

**Author:** ![ryerman](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ryerman/32/5285_2.png) [@ryerman](https://community.mp3tag.de/u/ryerman)\
**Post date:** [March 24, 2020, 1:20am UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/2 "2020-03-24T01:20:08Z")

</div>

Use a "Format value" action on \_FILENAME field, with this Format string:  
`$trim($left(%_filename%,$sub($strstr(%_filename%,'(mono)'),1)))`

---

<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:** [March 24, 2020, 6:28am UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/3 "2020-03-24T06:28:17Z")

</div>

Or use Convert\>Filename-Filename  
Source pattern: %1 (mono%2  
Target pattern: %1

---

<div class="post-metadata">

**Author:** ![bd6675](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@bd6675](https://community.mp3tag.de/u/bd6675)\
**Post date:** [March 24, 2020, 1:58pm UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/4 "2020-03-24T13:58:34Z")

</div>

> [@ohrenkino](#):
>
> %1 (mono%2

Thanks, ryerman. Much appreciated...worked like a charm.

---

<div class="post-metadata">

**Author:** ![bd6675](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/b2d939/32.png) [@bd6675](https://community.mp3tag.de/u/bd6675)\
**Post date:** [March 24, 2020, 1:59pm UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/5 "2020-03-24T13:59:35Z")

</div>

Thanks, ohrenkino. Also worked like a charm! Cheers. Be safe out there.

---

<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:** [February 9, 2026, 12:28pm UTC](https://community.mp3tag.de/t/remove-text-from-a-filename/48255/6 "2026-02-09T12:28:29Z")

</div>


