# Removing a disc and track number

**URL:** https://community.mp3tag.de/t/removing-a-disc-and-track-number/9911
**Category:** Support
**Created:** [February 16, 2010, 11:12pm UTC](https://community.mp3tag.de/t/removing-a-disc-and-track-number/9911 "2010-02-16T23:12:33Z")
**Posts on this page:** 1
**Showing post:** 9

<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: [March 11, 2011, 11:20am UTC](https://community.mp3tag.de/t/removing-a-disc-and-track-number/9911/9 "2011-03-11T11:20:14Z")

</div>

To freshen up this old thread ...  
... removing a disc and track number from the left side of the filename.

**Use an action of type "Format value". Field: \_FILENAME Formatstring: $trimLeft(%\_filename%,'0123456789- ') From: '01-02 eight days a week.mp3' To: 'eight days a week.mp3' ... but ... From: '01-02 8 days a week.mp3' To: 'days a week.mp3' $cutLeft(%\_filename%,6) From: '01-02 eight days a week.mp3' To: 'eight days a week.mp3' $regexp(%\_filename%,'^\s\*\d+\s\*\-\s\*\d+\s\*',) From: '01-02 eight days a week.mp3' To: 'eight days a week.mp3' ... or ... From: ' 01 - 02 eight days a week.mp3' To: 'eight days a week.mp3'** 

DD.20110311.1325.CET

---

_[View the full topic](https://community.mp3tag.de/t/removing-a-disc-and-track-number/9911)._
