# Remove parts of name in file

**URL:** <https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204>\
**Category:** Support\
**Created:** [September 5, 2015, 3:14pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204 "2015-09-05T15:14:25Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Espenbv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ac91a4/32.png) [@Espenbv](https://community.mp3tag.de/u/Espenbv)\
**Post date:** [September 5, 2015, 3:14pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/1 "2015-09-05T15:14:25Z")

</div>

Hi

So I downloaded a ton of songs from a playlist on youtube and in the names it sometimes says [Electro] / [Dubstep] and when I do the %artist% - %title& command in converting the tag it picks up[Electro] / [Dubstep] as the title. But I wish to remove that text without having to do it 1 by 1.

Here's a screenshot of what i'm talking about. Is there any way I can remove those names without doing it 1 by 1 ?

 ![](http://i.imgur.com/QAYsn5j.png)

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [September 5, 2015, 3:21pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/2 "2015-09-05T15:21:30Z")

</div>

> [@Espenbv](#):
>
> Hi ... in the names it sometimes says [Electro] / [Dubstep] and when I do the %artist% - %title& command in converting the tag it picks up[Electro] / [Dubstep] as the title. ...

Perhaps you simply need to do this ...

**Action "Format value" Field ......: \_FILENAME Formatstring: $validate(%TITLE%,'\_')**

... or ...

**Convert "Tag - Filename" Formatstring: $validate(%TITLE%,'\_')**

DD.20150905.1948.CEST

---

<div class="post-metadata">

**Author:** ![Espenbv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ac91a4/32.png) [@Espenbv](https://community.mp3tag.de/u/Espenbv)\
**Post date:** [September 5, 2015, 3:35pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/3 "2015-09-05T15:35:28Z")

</div>

> [@DetlevD](#):
>
> Re-do the renaming of the filename, but leave out the "bad part" from the %ARTIST% value.
> 
> **Action "Format value" Field ......: \_FILENAME Formatstring: $regexp(%ARTIST%,'^\[.\*\]\s\*(.+)$','$1')' - '%TITLE%**
> 
> Perhaps you simply need to do this ...
> 
> **Action "Format value" Field ......: \_FILENAME Formatstring: $validate(%TITLE%,'\_')**
> 
> DD.20150905.1933.CEST

Thanks for the reply but could you tell me where and what to write? explain it like im 5 years old please.

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [September 5, 2015, 3:52pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/4 "2015-09-05T15:52:52Z")

</div>

> [@Espenbv](#):
>
> ... explain it like im 5 years old please.

Don't touch the computer again ... go out and play in the sandbox!

DD.20150905.1952.CEST

---

<div class="post-metadata">

**Author:** ![Espenbv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ac91a4/32.png) [@Espenbv](https://community.mp3tag.de/u/Espenbv)\
**Post date:** [September 5, 2015, 3:57pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/5 "2015-09-05T15:57:46Z")

</div>

> [@DetlevD](#):
>
> Don't touch the computer again ... go out and play in the sandbox!
> 
> DD.20150905.1952.CEST

Sure but that doesnt help me. The convert suggestion you gave me didnt fix it ☹

---

<div class="post-metadata">

**Author:** ![Espenbv](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/ac91a4/32.png) [@Espenbv](https://community.mp3tag.de/u/Espenbv)\
**Post date:** [September 5, 2015, 4:01pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/6 "2015-09-05T16:01:04Z")

</div>

I fixed it with the suggestion you gave. Had to put in

```
$validate(%TITLE%,'_') $validate(%ARTIST%,'_')
```

---

<div class="post-metadata">

**Author:** ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)\
**Post date:** [September 5, 2015, 4:09pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/7 "2015-09-05T16:09:56Z")

</div>

> [@Espenbv](#):
>
> I fixed it with the suggestion you gave. Had to put in $validate(%TITLE%,'_') $validate(%ARTIST%,'_')

Doing it this way you are doing it again ...  
transferring the values like '[House]' or '[Electro]' from the column 'Artist' into the 'Filename' ...  
but the result is what you didn't want in the first step, but now it is ok for you?

DD.20150905.2011.CEST

---

<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:25pm UTC](https://community.mp3tag.de/t/remove-parts-of-name-in-file/17204/8 "2026-02-09T12:25:51Z")

</div>

Closed on February 9, 2026, 12:25pm UTC


