# Action to remove part of the filename or the Title

**URL:** <https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764>\
**Category:** Support\
**Created:** [May 23, 2018, 3:07pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764 "2018-05-23T15:07:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 23, 2018, 3:07pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/1 "2018-05-23T15:07:02Z")

</div>

Hi, i have some files which were named wrongly and i want to fix their tags, let me give you some examples.

Filename: Claudio D - Without You Disco House Rework **166 41157.mp3** (Claudio D Disco House Mix) [Clean] 128.mp3

Title: Without You Disco House Rework **166 41157.mp3** (Claudio D Disco House Mix) [Clean] 128

What i want to do is to remove ths part : 166 41157.mp3

I probably have to use the Guess Value action but i cant figure out what command to use.

---

<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:** [May 23, 2018, 4:06pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/2 "2018-05-23T16:06:01Z")

</div>

> [@SpirosG](#):
>
> I probably have to use the Guess Value action but i cant figure out what command to use.

No, I would use an action of the type "Replace with regular expression" for TITLE  
Search string: ` \d+ \d+\.mp3`  
Replace string:  
(leave empty)  
Please note the leading blank - or run a second action of the type "Replace" where you replace double-blanks with a single one.

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 23, 2018, 4:25pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/3 "2018-05-23T16:25:19Z")

</div>

Thank you for the help. it works perfect.

One more question about another file.

title is : Crazy In Love 2K18 (Reggetton X Bootleg) (Mash-Up Hype Into) (Single Ladies) 103 Bpm Dirty

And i want to rename it to:  
Crazy In Love 2K18 (Reggetton X Bootleg) (Mash-Up Hype Into) (Single Ladies) (Dirty)

Can you tell me how to?

---

<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:** [May 23, 2018, 5:09pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/4 "2018-05-23T17:09:55Z")

</div>

Replace with regular expression  
Search string: (.\*) \d+ Bpm (\w+)  
Replace string: $1 ($2)

---

<div class="post-metadata">

**Author:** ![SpirosG](https://community.mp3tag.de/user_avatar/community.mp3tag.de/spirosg/32/8589_2.png) [@SpirosG](https://community.mp3tag.de/u/SpirosG)\
**Post date:** [May 23, 2018, 5:35pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/5 "2018-05-23T17:35:04Z")

</div>

You are amazing. Thanks for everything!

---

<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:27pm UTC](https://community.mp3tag.de/t/action-to-remove-part-of-the-filename-or-the-title/41764/6 "2026-02-09T12:27:26Z")

</div>


