# Reg Ex to fix iTunes tracks and discs not working

**URL:** https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725
**Category:** Support
**Created:** [September 3, 2006, 7:07am UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725 "2006-09-03T07:07:10Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Ruse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ruse](https://community.mp3tag.de/u/Ruse)
#### Post date: [September 3, 2006, 7:07am UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/1 "2006-09-03T07:07:10Z")

</div>

Whenever I use the following to try to fix track numbers and disc numbers it doesn't work.

Regular Expression: ^( \d+)/\d+

Replace with: $1

Please Help?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [September 3, 2006, 7:59am UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/2 "2006-09-03T07:59:23Z")

</div>

It's $1 and not %1

---

<div class="post-metadata">

### Author: ![Ruse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ruse](https://community.mp3tag.de/u/Ruse)
#### Post date: [September 3, 2006, 11:59am UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/3 "2006-09-03T11:59:05Z")

</div>

Sorry! That was a typo. I am actually using $1 and not %1.

I can't figure out why this isn't working.

---

<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: [September 3, 2006, 12:18pm UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/4 "2006-09-03T12:18:08Z")

</div>

> [@Ruse](#):
>
> Whenever I use the following to try to fix track numbers and disc numbers it doesn't work.  
> Regular Expression: ^( \d+)/\d+  
> Replace with: $1

This RegExp works for me: **^(\d+)/\d+**  
but this not: **^( \d+)/\d+**  
Do you see why?

DD.20060903.1617

---

<div class="post-metadata">

### Author: ![Ruse](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/a587f6/32.png) [@Ruse](https://community.mp3tag.de/u/Ruse)
#### Post date: [September 3, 2006, 1:04pm UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/5 "2006-09-03T13:04:54Z")

</div>

> [@DetlevD](#):
>
> This RegExp works for me: **^(\d+)/\d+**  
> but this not: **^( \d+)/\d+**  
> Do you see why?
> 
> DD.20060903.1617

I copied and pasted the previous. Stupid space.... Thanks.

---

<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:19pm UTC](https://community.mp3tag.de/t/reg-ex-to-fix-itunes-tracks-and-discs-not-working/3725/6 "2026-02-09T12:19:52Z")

</div>


