# MP3 Filename Change

**URL:** <https://community.mp3tag.de/t/mp3-filename-change/18804>\
**Category:** Support\
**Created:** [March 15, 2017, 2:07am UTC](https://community.mp3tag.de/t/mp3-filename-change/18804 "2017-03-15T02:07:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![doby](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@doby](https://community.mp3tag.de/u/doby)\
**Post date:** [March 15, 2017, 2:07am UTC](https://community.mp3tag.de/t/mp3-filename-change/18804/1 "2017-03-15T02:07:07Z")

</div>

Hello Everyone

I want to change the way alot of my mp3s are written, for example i have a file called -

(06) [DJ Snowman] System Of Survival.mp3

But i would like it to be written this way -

1. DJ Snowman - System Of Survival.mp3

Is there anyway to do this in mp3tag? any help much appreciated, thank you.

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [March 15, 2017, 3:28am UTC](https://community.mp3tag.de/t/mp3-filename-change/18804/2 "2017-03-15T03:28:38Z")

</div>

Use replace with regular expression action in the **\_FILENAME** and use :

Replace  
^((\d+))\s+[([^]]+)]\s+(.\*)

With  
$1. $2 - $3

* * *

**EDIT**  
To can also make sure you have leading zeros, do this :

Replace  
^(0\*(\d+))\s+[([^]]+)]\s+(.\*)

With _(0$1 will return 01,02 etc and 00$1 will return 001, 002 etc)_  
0$1. $2 - $3

---

<div class="post-metadata">

**Author:** ![doby](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@doby](https://community.mp3tag.de/u/doby)\
**Post date:** [March 15, 2017, 3:56am UTC](https://community.mp3tag.de/t/mp3-filename-change/18804/3 "2017-03-15T03:56:11Z")

</div>

That worked perfectly, thank you very much 😃 😃 😃 😃 😃

---

<div class="post-metadata">

**Author:** ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)\
**Post date:** [March 15, 2017, 11:42am UTC](https://community.mp3tag.de/t/mp3-filename-change/18804/4 "2017-03-15T11:42:26Z")

</div>

No problem. You can always use the mask then to right them values to your tags by doing:

**Filename \> Tag**  
%track%. %artist% - %title%

Or if your tags are Okay to begin with (without having ot do that step I explained in my first reply) you can use:

**Tag \> Filename**  
[**$num(%track%,1)**.][%artist%][- %title%]

Above will return (Notice the number of leading zeros and the mask in **bold** ):  
**6**. DJ Snowman - System Of Survival.mp3

And:  
[**$num(%track%,2)**.][%artist%][- %title%]  
**06**. DJ Snowman - System Of Survival.mp3

* * *

I'll edit my first post to show you how to make sure you have 01, 02, 03 etc as opposed to 1, 2, 3 in the filename with that method.

---

<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:26pm UTC](https://community.mp3tag.de/t/mp3-filename-change/18804/5 "2026-02-09T12:26:43Z")

</div>


