# How to format a tag using text from the same tag

**URL:** https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887
**Category:** Support
**Created:** [February 24, 2024, 5:58pm UTC](https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887 "2024-02-24T17:58:19Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![daring\_t](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@daring\_t](https://community.mp3tag.de/u/daring_t)
#### Post date: [February 24, 2024, 5:58pm UTC](https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887/1 "2024-02-24T17:58:19Z")

</div>

Hello all,

I have a long list a albums from a audio series that look like the following: "01\_album name" and trying to make them look like the following "01\_album name(Vol. 01)". I clicked on actions and "Replace with regular expression". Field is ALBUM, Regular expression is: ^(\d\d), and Replace matches with is: %album%(Vol. $1). When use the Action, I get: %album%(Vol. 01)\_album name. Am I going about this all wrong or is there something I am not seeing here.

Thanks,  
daring\_t

---

<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: [February 24, 2024, 6:25pm UTC](https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887/2 "2024-02-24T18:25:09Z")

</div>

Try:  
Search pattern: `^(\d\d)_(.*)`  
Replace with: `$1_$2(Vol.$1)`

---

<div class="post-metadata">

### Author: ![daring\_t](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/bcef8e/32.png) [@daring\_t](https://community.mp3tag.de/u/daring_t)
#### Post date: [February 24, 2024, 7:56pm UTC](https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887/3 "2024-02-24T19:56:03Z")

</div>

That worked perfectly! That's exactly what I was looking for. Thanks ohrenkino!

---

<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: [March 25, 2024, 7:56pm UTC](https://community.mp3tag.de/t/how-to-format-a-tag-using-text-from-the-same-tag/63887/4 "2024-03-25T19:56:16Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
