# Changing disk number with Regex

**URL:** <https://community.mp3tag.de/t/changing-disk-number-with-regex/17890>\
**Category:** Support\
**Created:** [April 25, 2016, 8:27pm UTC](https://community.mp3tag.de/t/changing-disk-number-with-regex/17890 "2016-04-25T20:27:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Finu96](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/34f0e0/32.png) [@Finu96](https://community.mp3tag.de/u/Finu96)\
**Post date:** [April 25, 2016, 8:27pm UTC](https://community.mp3tag.de/t/changing-disk-number-with-regex/17890/1 "2016-04-25T20:27:08Z")

</div>

Hi! I'm sure this is was mentioned before but i can't find it.

Some cd's come with the discknumber tag in the [discnumber/total discnumber] format.  
I want to change it those cd's tag to only discnumber.

Any ideas?  
Thank you for your time!

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [April 26, 2016, 2:57am UTC](https://community.mp3tag.de/t/changing-disk-number-with-regex/17890/2 "2016-04-26T02:57:50Z")

</div>

Create an action\_  
Action type: Guess values  
Source format: %discnumber%  
Guessing Pattern: %discnumber%/%dummy%

You really mean the discnumber or do you mean the tracknumber?

---

<div class="post-metadata">

**Author:** ![Finu96](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/34f0e0/32.png) [@Finu96](https://community.mp3tag.de/u/Finu96)\
**Post date:** [April 26, 2016, 3:33am UTC](https://community.mp3tag.de/t/changing-disk-number-with-regex/17890/3 "2016-04-26T03:33:13Z")

</div>

> [@poster](#):
>
> You really mean the discnumber or do you mean the tracknumber?

Discnumber! Sometimes they are like this 1/2 2/2 and i hate it xD

---

<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:** [April 26, 2016, 3:39am UTC](https://community.mp3tag.de/t/changing-disk-number-with-regex/17890/4 "2016-04-26T03:39:30Z")

</div>

> [@Finu](#):
>
> Discnumber! Sometimes they are like this 1/2 2/2 and i hate it xD

You would not believe how many threads there are that wish for a numbering assistant for the discnumber so that you get the total discnumber ... So throwing away existing data is always a dubious thing.

An alternative could also be:  
Action of the type "Format value" for DISCNUMBER  
Format String: $num(%discnumber%,2)

---

<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/changing-disk-number-with-regex/17890/5 "2026-02-09T12:26:13Z")

</div>

Closed on February 9, 2026, 12:26pm UTC


