# Enclose Disc Numbers in Brackets

**URL:** <https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334>\
**Category:** Support\
**Created:** [September 8, 2017, 10:11pm UTC](https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334 "2017-09-08T22:11:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![gavinmag](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@gavinmag](https://community.mp3tag.de/u/gavinmag)\
**Post date:** [September 8, 2017, 10:11pm UTC](https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334/1 "2017-09-08T22:11:09Z")

</div>

What I am trying to do is enclose disc numbers in brackets

For example  
Disc 1 would become (Disc 1)  
Disc 2 would become (Disc 2)  
Disc 12 would become (Disc 12)  
Disc 20 would become (Disc 20)

I can get Disc 1 to (Disc 1) and Disc 2 to (Disc 2) but when it comes to double digits the whole thing falls in a heap so I need your help please. I work in community radio and this feature is very important for cataloguing purposes

Thanks  
Gavin

---

<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:** [September 8, 2017, 11:15pm UTC](https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334/2 "2017-09-08T23:15:27Z")

</div>

Use replace with regular expression action.

Replace.

(?i)(?!\()Disc\s+(\d+)(?!\))

With:

(Disc $1)

**Reason for edit:**  
Used negative lookaheads method

---

<div class="post-metadata">

**Author:** ![gavinmag](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@gavinmag](https://community.mp3tag.de/u/gavinmag)\
**Post date:** [September 9, 2017, 5:49am UTC](https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334/3 "2017-09-09T05:49:54Z")

</div>

> [@stevehero](#):
>
> Use replace with regular expression action.
> 
> Replace.
> 
> (?i)(?!\()Disc\s+(\d+)(?!\))
> 
> With:
> 
> (Disc $1)
> 
> **Reason for edit:**  
> Used negative lookaheads method

Many Many 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:27pm UTC](https://community.mp3tag.de/t/enclose-disc-numbers-in-brackets/19334/4 "2026-02-09T12:27:00Z")

</div>


