# How to batch edit extended tags

**URL:** https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700
**Category:** Support
**Created:** [November 8, 2023, 3:01pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700 "2023-11-08T15:01:05Z")
**Posts on this page:** 13
**Page:** 1

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:01pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/1 "2023-11-08T15:01:05Z")

</div>

I have many albums with a split title, such as ABBA - Gold - Greatest Hits - Extended Edition.  
The title has been added in with hyphens so that when I export in the format - - - \<track#\>, the track number actually becomes 'Extended edition - 01', 'Extended Edition - 02' etc.  
I can alter each one in Extended tags easily, but is there a batch way of doing them all at once, but retaining the track numbers?

---

<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: [November 8, 2023, 3:03pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/2 "2023-11-08T15:03:41Z")

</div>

Could you show us a real example?  
Or try an action of the type "Format value" for TRACK with  
Format string: `$regexp(%_filename%,.*(\d+),$1)`  
and if that does not work, the real filename would be nice.

---

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:16pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/3 "2023-11-08T15:16:07Z")

</div>

That is a real example. "Extended edition - 01" is in the tag 'track number'. I edit it manually to simply say "01", but then I have to manually edit every track by hand.  
I'm afraid you're not talking to an expert, I can't program, so the format stuff is alien to me. ☹

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 8, 2023, 3:17pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/4 "2023-11-08T15:17:42Z")

</div>

You really see "Extended edition - 01" in the TRACK tag?

![image](https://community.mp3tag.de/uploads/default/original/2X/0/0ae6a8f26744de04db824234ea3dfc90178a123f.png)

---

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:18pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/5 "2023-11-08T15:18:21Z")

</div>

Yes. I don't know how to post a screenshot or I'd show you

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 8, 2023, 3:19pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/6 "2023-11-08T15:19:18Z")

</div>

You can just copy & paste a screenshot directly in your answer or [follow this hints](https://community.mp3tag.de/t/hints-for-asking-support-requests/56190#use-screenshots-to-exemplify-the-issue-2).

---

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:21pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/7 "2023-11-08T15:21:07Z")

</div>

![2023-11-08_151246](https://community.mp3tag.de/uploads/default/original/2X/1/1caed9c16ca12f99482aabed96c1348d7af81391.png)  
Oh cool! As you can see this one has inherited "B sides" before the track number. There's a lot of albums like that. I don't know of an easy way to edit them all so I have to do them 1 by 1 by hand and it's taking hours.  
Originally the Album name was written "Gold 40th Anniversary Edition CD3 - B sides"  
I think that hyphen is what triggered the auto track numbering

---

<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: [November 8, 2023, 3:23pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/8 "2023-11-08T15:23:18Z")

</div>

Try Convert\>Tag-Tag for TRACK  
Format string: `$regexp(%track%,.*- (\d+),$1)`

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 8, 2023, 3:25pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/9 "2023-11-08T15:25:45Z")

</div>

@ohrenkino's regular expression is the more professional way to cut the (2) numbers from your existing string then using  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/6/658378555d57b9515a4d0bac5a72fa524d569ab4.png)

---

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:26pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/10 "2023-11-08T15:26:39Z")

</div>

Holy Moly I have no idea at all what that all means, but it worked!! Thank you, saved me countless hours of work!

---

<div class="post-metadata">

### Author: ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)
#### Post date: [November 8, 2023, 3:28pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/11 "2023-11-08T15:28:21Z")

</div>

> [@ohrenkino](#):
>
> `.*- (\d+),$1)`

> [@GaryF](#):
>
> Holy Moly I have no idea at all what that all means

Looking for any character before the hyphen and a space,  
then group together all numbers.  
Replace the current value in TRACK with only the group $1 (the numbers).  
 ![image](https://community.mp3tag.de/uploads/default/original/2X/e/e6a131f9bd5ae069d5cd0b25423eae0657d6d843.png)

---

<div class="post-metadata">

### Author: ![GaryF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/g/f19dbf/32.png) [@GaryF](https://community.mp3tag.de/u/GaryF)
#### Post date: [November 8, 2023, 3:29pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/12 "2023-11-08T15:29:28Z")

</div>

Sheer witchcraft, but 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: [December 8, 2023, 3:29pm UTC](https://community.mp3tag.de/t/how-to-batch-edit-extended-tags/62700/13 "2023-12-08T15:29:36Z")

</div>

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