# remove album and artist name in filename

**URL:** https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974
**Category:** Support
**Created:** [May 15, 2005, 5:48pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974 "2005-05-15T17:48:16Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![davidgale](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidgale](https://community.mp3tag.de/u/davidgale)
#### Post date: [May 15, 2005, 5:48pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/1 "2005-05-15T17:48:16Z")

</div>

i want to remove artist and album name from the filename (e.g. "Artist - Album - Title"). by artist and album i suppose what is written in %artist% and %album% tags. how do i do that? i tried to do this with Actions =\> Replace and Replace with Regular Expression but that didn't work.

---

<div class="post-metadata">

### Author: ![Sebastian\_Mares](https://community.mp3tag.de/user_avatar/community.mp3tag.de/sebastian_mares/32/9285_2.png) [@Sebastian\_Mares](https://community.mp3tag.de/u/Sebastian_Mares)
#### Post date: [May 15, 2005, 8:05pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/2 "2005-05-15T20:05:18Z")

</div>

> [@](#):
>
> i want to remove artist and album name from the filename (e.g. "Artist - Album - Title"). by artist and album i suppose what is written in %artist% and %album% tags. how do i do that? i tried to do this with Actions =\> Replace and Replace with Regular Expression but that didn't work.
> 
> \<{POST\_SNAPBACK}\>

You could use the Tag-Filename wizard with "%title%" as format string (or whatever you want as new file name).

---

<div class="post-metadata">

### Author: ![davidgale](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidgale](https://community.mp3tag.de/u/davidgale)
#### Post date: [May 16, 2005, 3:55am UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/3 "2005-05-16T03:55:46Z")

</div>

> [@](#):
>
> You could use the Tag-Filename wizard with "%title%" as format string (or whatever you want as new file name).
> 
> \<{POST\_SNAPBACK}\>

well, that is a solution. however not always files have right %title% tags (like Track 1, Track 2 etc.) but have correct %artist% and %album% tags. so can i somehow remove from filename string portion that matches %artist% and %album% tags?

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [May 16, 2005, 3:26pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/4 "2005-05-16T15:26:00Z")

</div>

> [@](#):
>
> so can i somehow remove from filename string portion that matches %artist% and %album% tags?
> 
> \<{POST\_SNAPBACK}\>

The formatstring $replace($replace(%\_filename%,%artist%,),%album%,) at Tag - Filename should do the trick.

Best regards,  
~ Florian

---

<div class="post-metadata">

### Author: ![davidgale](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/f07891/32.png) [@davidgale](https://community.mp3tag.de/u/davidgale)
#### Post date: [May 16, 2005, 4:03pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/5 "2005-05-16T16:03:19Z")

</div>

> [@](#):
>
> The formatstring $replace($replace(%\_filename%,%artist%,),%album%,) at Tag - Filename should do the trick.
> 
> Best regards,  
> ~ Florian
> 
> \<{POST\_SNAPBACK}\>

thank you very much for helping me out! it works!

---

<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: [November 12, 2025, 3:09pm UTC](https://community.mp3tag.de/t/remove-album-and-artist-name-in-filename/1974/6 "2025-11-12T15:09:22Z")

</div>

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