# Take track number out of filename

**URL:** https://community.mp3tag.de/t/take-track-number-out-of-filename/13337
**Category:** Support
**Created:** [April 18, 2012, 5:25pm UTC](https://community.mp3tag.de/t/take-track-number-out-of-filename/13337 "2012-04-18T17:25:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![youngsimba23](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/4491bb/32.png) [@youngsimba23](https://community.mp3tag.de/u/youngsimba23)
#### Post date: [April 18, 2012, 5:25pm UTC](https://community.mp3tag.de/t/take-track-number-out-of-filename/13337/1 "2012-04-18T17:25:28Z")

</div>

does anyone know how to do this? its a huge pet peeve of mine to have track numbers in my music but theres too many to change.

it looks like this  
05 Im gettin money

and forgive me if im a little slow, i dont know how to use this program well

---

<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: [April 18, 2012, 6:35pm UTC](https://community.mp3tag.de/t/take-track-number-out-of-filename/13337/2 "2012-04-18T18:35:42Z")

</div>

Take time to read the FAQ's for all the basic functions of mp3tag on how to create actions etc.

Once you do this.

Create a format action.  
Field: \_FILENAME  
Format: regexp(%\_filename%,'^\s\*\d{1,2}\s+(.+)',$1)

Always run and test on a single file first.

---

<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:23pm UTC](https://community.mp3tag.de/t/take-track-number-out-of-filename/13337/3 "2026-02-09T12:23:47Z")

</div>


