# Remove leading numbers from filename

**URL:** https://community.mp3tag.de/t/remove-leading-numbers-from-filename/58420
**Category:** Mac
**Created:** [September 4, 2022, 11:45pm UTC](https://community.mp3tag.de/t/remove-leading-numbers-from-filename/58420 "2022-09-04T23:45:15Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [September 5, 2022, 5:48am UTC](https://community.mp3tag.de/t/remove-leading-numbers-from-filename/58420/2 "2022-09-05T05:48:24Z")

</div>

> [@JimAustin](#):
>
> I'd just like to get rid of (eg) "01\_09\_" from the filename before rebuilding the filename

See the FAQs on how to strip leading numbers:

> [@Regular Expressions](https://community.mp3tag.de/t/regular-expressions/521/3):
>
> Regular expression: ^\s\*[0-9]+\s\*-\s\* Replace with: This one will remove the track-number (if followed by a dash) and white space at the beginning of a string (for instance 01 - Come Together will become Come Together) Regular expression: ^\s\*[0-9]+\s+ Replace with: This one will remove the track-number if followed by a white space (for instance 01 Come Together will become Come Together)

I don't understand, though, why you first want to modify the filename

> [@JimAustin](#):
>
> before rebuilding the filename

If your rebuild the filename, then the numbers will be gone anyway, I would think. Goiing straight for the refurbishing would save 1 step.

More information about MP3tag for Mac functions can be found in the documentation:

> **[Documentation](https://community.mp3tag.de/c/mac/doc/34)**
>
> Learn all about the features of Mp3tag for Mac.

---

_[View the full topic](https://community.mp3tag.de/t/remove-leading-numbers-from-filename/58420)._
