# Find and Replace list of Album tags

**URL:** https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613
**Category:** Support
**Created:** [March 25, 2014, 6:53am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613 "2014-03-25T06:53:13Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [March 25, 2014, 6:53am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/1 "2014-03-25T06:53:13Z")

</div>

I have a set of MP3 albums bought from Amazon, but one thing I've noticed is that my MP3 players tend to sort them by the album name only, which is quite frustrating as the genres and artists are all over the place. What's worse is that the word "The" is included when sorting the names, which shouldn't happen.

What I'd like to to is to find and fully or partially replace the album names with extra characters that will force the player to sort by the order I want, for all tracks in all albums.

The tricky part is that I'd like this done as a single scripted list, so I can just run it once and ALL the albums will have their names changed.

Is this possible with MP3tag?

---

<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: [March 25, 2014, 7:48am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/2 "2014-03-25T07:48:48Z")

</div>

If you want to get rid of the "The"  
use an action of the type "Replace with regular expression" for ALBUM  
Enter as search string: ^The  
(add a blank as last character)  
Enter as replace string:  
(leave that empty)

But concerning the "special characters" I have no clue what you mean. If you add the same information to all albums, then you could just as well leave that information out as it does not discriminate.  
If you want to do something like add an underscore then use the converter Tag-Tag for %album%  
and the mask  
\_%album%

Or create an action of the type "Format value" ...

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [March 25, 2014, 8:09am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/3 "2014-03-25T08:09:08Z")

</div>

I simply mean putting a text string in front of the album name designating "Classical" or "Commercial" or "Seasonal", is all.

I've had a good look and Actions would appear to be the right way forward. BUT, I would like to create and save my own Action group aside from the three already present, but Utils only seems to save the "Selection", ie which Action groups are ticked at that moment.

What is the difference between ".mta" and ".mtg" files? Can I save my own Action groups? Does Utils do that?

---

<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: [March 25, 2014, 8:41am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/4 "2014-03-25T08:41:42Z")

</div>

The creation of actions always implies the creation of a new action group.  
(see [/t/967/1](https://community.mp3tag.de/t/967/1)  
THis may be puzzling as the GUI functions all have the same name more or less.  
If you use the function Actions\>Actions ... you end up in the dialogue to create a new action group.  
You can put as many single action into an action group as you want - all action in such a group get executed as soon as you call the group. So you do not necessarily have to use the check boxes for combinations but can put all actions, that should run together, into one action group.  
And then you can combine action groups with the check boxes in the actions dialogue.

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [March 25, 2014, 9:02am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/5 "2014-03-25T09:02:52Z")

</div>

Yes, but how do I save the action group as an .mta file, like the three already there?

---

<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: [March 25, 2014, 9:10am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/6 "2014-03-25T09:10:57Z")

</div>

ASAIK this is done automatically as soon as you conclude the defintion of a new action group.

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [March 25, 2014, 9:15am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/7 "2014-03-25T09:15:06Z")

</div>

Where would it be stored on a Win7 installation? I've looked all over. It's not in Program Files (x86), for example.

---

<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: [March 25, 2014, 9:25am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/8 "2014-03-25T09:25:29Z")

</div>

see  
[/t/964/1](https://community.mp3tag.de/t/964/1)

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [March 25, 2014, 10:45am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/9 "2014-03-25T10:45:39Z")

</div>

Thank you 🙂

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [April 1, 2014, 9:57am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/10 "2014-04-01T09:57:33Z")

</div>

Concerning the Replace function, is there a way of replacing the ENTIRE STRING and not just matching parts of it? Is that what "only as whole word" means?

---

<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 1, 2014, 10:10am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/11 "2014-04-01T10:10:30Z")

</div>

Matching as whole word means that if you look for "the" then it treats only "The Beatles" but not "Theloneous Monk".

What do you mean by "entire string"? Only that part of a piece of data that matches the search criteria is replaced.  
If you want to treat only files that match a certain substring then you could use the filter to reduce the list and then enter the new data in either the tag panel or the extended tags dialogue.

Or, if all that does not quite hit the nail on the head: give an example of the search string, the original data, what you want to replace it with and what it should look like in the end.

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [April 1, 2014, 10:28am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/12 "2014-04-01T10:28:43Z")

</div>

> [@](#):
>
> 18 Months [Explicit]  
> 50 Best Wagner  
> Abba Gold Greatest Hits  
> Brahms: String Sextets Nos. 1 and 2  
> Essential Bach  
> Essential Christmas Carols - The Very Best of King's College, Cambridge  
> Gladiator - Music From The Motion Picture  
> Graceland 25th Anniversary Edition  
> Handel - Music for the Royal Fireworks/ Water Music  
> Holst: The Planets  
> Images  
> Instruments of Middle Age and Renaissance  
> Mahler: Symphony No.2 'Resurrection'  
> Matthew & Son [Enhanced]  
> Monster Halloween Hits  
> Mozart: Horn Concertos Nos. 1-4 / Rondo In E Flat Major  
> Mozart: Requiem  
> New Masters [Bonus Tracks]  
> Now That's What I Call Christmas  
> Number Ones  
> Ready For The Weekend  
> Riverdance (Music From the Show)  
> Serenity  
> Star Trek: Generations - Original Motion Picture Soundtrack  
> Tango In The Night  
> Tchaikovsky: The Symphonies and Orchestral Works  
> Teaser And The Firecat  
> The 99 Most Essential Mozart Masterpieces  
> The Best Of  
> The Best of Anuna  
> The Best Of M People  
> The Fat Of The Land [Explicit]  
> The Instant Classical Collection - 100 essential classical masterworks  
> The Last Samurai: Original Motion Picture Score  
> The Platinum Collection (2011 Remaster)  
> The Very Best Of Sting And The Police  
> Valentine's Day (The Greatest Love Songs)  
> Vivaldi - L'Estro Armonico, Op.3  
> Vivaldi: The Four Seasons  
> Watermark
> 
> AM Com CHA 18 Months [Explicit]  
> AM Cla WAG 50 Best Wagner  
> AM Com ABB Abba Gold Greatest Hits  
> AM Cla BRA Brahms: String Sextets Nos. 1 and 2  
> AM Cla BAC Essential Bach  
> AM Sea CHR Essential Christmas Carols - Very Best of King's College, Cambridge  
> AM Fil GLA Gladiator - Music From The Motion Picture  
> AM Com PSI Graceland 25th Anniversary Edition  
> AM Cla HAN Handel - Music for the Royal Fireworks/ Water Music  
> AM Cla HOL Holst: Planets  
> AM Com JMJ Images  
> AM Cla VAR Instruments of Middle Age and Renaissance  
> AM Cla MAH Mahler: Symphony No.2 'Resurrection'  
> AM Com CST Matthew & Son [Enhanced]  
> AM Sea HAL Monster Halloween Hits  
> AM Cla MOZ Mozart: Horn Concertos Nos. 1-4 / Rondo In E Flat Major  
> AM Cla MOZ Mozart: Requiem  
> AM Com CST New Masters [Bonus Tracks]  
> AM Sea CHR Now That's What I Call Christmas  
> AM Com MJA Number Ones  
> AM Com CHA Ready For The Weekend  
> AM Fil RIV Riverdance (Music From the Show)  
> AM Com CUL Serenity  
> AM Fil STA Star Trek: Generations - Original Motion Picture Soundtrack  
> AM Com FLE Tango In The Night  
> AM Cla TCH Tchaikovsky: Symphonies and Orchestral Works  
> AM Com CST Teaser And The Firecat  
> AM Cla MOZ 99 Most Essential Mozart Masterpieces  
> AM Com SAS Best Of  
> AM Com ANU Best of Anuna  
> AM Com MPE Best Of M People  
> AM Com PRO Fat Of The Land [Explicit]  
> AM Cla VAR Instant Classical Collection - 100 essential classical masterworks  
> AM Fil LAS Last Samurai: Original Motion Picture Score  
> AM Com QUE Platinum Collection (2011 Remaster)  
> AM Com STI Very Best Of Sting And The Police  
> AM Sea VAL Valentine's Day (Greatest Love Songs)  
> AM Cla VIV Vivaldi - L'Estro Armonico, Op.3  
> AM Cla VIV Vivaldi: Four Seasons  
> AM Com ENY Watermark

This is the gist of my problem:

The first list is of the Album titles as they were when I downloaded the files from Amazon.

The second list is if my prefixes to those titles and the cutting out of the initial "The"s. "AM" means Amazon MP3, "Cla" means "Classical" and so on. The capital three-letter code just identifies the artist and puts it into alphabetical order.

If I could just have prefixed the strings to those albums in the list, it would've been so much easier. I'm also concerned that I'll only be able to run the Action list once, as otherwise the Album tags will be messed up with duplicate strings.

---

<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 1, 2014, 10:56am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/13 "2014-04-01T10:56:42Z")

</div>

> [@AMJF](#):
>
> This is the gist of my problem:
> 
> The first list is of the Album titles as they were when I downloaded the files from Amazon.
> 
> The second list is if my prefixes to those titles and the cutting out of the initial "The"s. "AM" means Amazon MP3, "Cla" means "Classical" and so on. The capital three-letter code just identifies the artist and puts it into alphabetical order.
> 
> If I could just have prefixed the strings to those albums in the list, it would've been so much easier. I'm also concerned that I'll only be able to run the Action list once, as otherwise the Album tags will be messed up with duplicate strings.

Ah, I see.  
You want to append the current field.  
Use an action of the type "Format value" for TITLE  
Enter as format string:  
AM %title%  
This put AM in front of that what is already stored in TITLE  
If you then have another action of the same manner, only with the  
format string: Cla %title%

And you run them in the sequence  
first the Cla-Action,  
then the AM-action  
you get  
AM Cla + that what was in TITLE before.

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [April 1, 2014, 11:07am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/14 "2014-04-01T11:07:47Z")

</div>

Thanks for the advice, but you've forgotten the unique three letter code that I designated for the album and which forces it into alphabetical order. Thanks anyway.

No, these titles require individual attention.

The problem I've got is with one of the new albums that is simply titled "Best of". The thing is, there are already some albums called "Best of M People" (for one example). The first action may act on the other strings, you see.

As of this moment, I am backing up my original downloads from Amazon untouched, but I will try my action list on them after, see if it all goes OK anyway.

---

<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 1, 2014, 2:17pm UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/15 "2014-04-01T14:17:30Z")

</div>

If you append the 3-letter-album identifier first (which you can do very quickly with an action (quick) of the type "Format value" for all tracks of an album) then you can use all the other ready-made actions afterwards.  
E.g. if you enter the GENRE first then you can use an action that gets the first 3 letters of the genre and adds them to the title:  
$left(%genre%,3)\_%title%

Just a little something:  
One day, I am sure, you will find that entering a kind of key somehow blocks the real title information and you will try to get rid of it.  
For this day, I would recommend that you use a unique separator between the key part and the real (and variable) data behind it.  
For this I would recommend an underscore as this character hardly ever pops up as plain text letter.  
Using the blank as separator will interfere with the required blanks within the real title data.

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [April 1, 2014, 6:22pm UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/16 "2014-04-01T18:22:02Z")

</div>

I've given up on using the Actions for this purpose, as it's just too convoluted.

I'm starting from scratch and just sorting the albums by the Album tag, selecting all those within one album and simply editing the tag on the left-hand column and saving... as I should've done in the first place. ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")

---

<div class="post-metadata">

### Author: ![AMJF](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/a/3e96dc/32.png) [@AMJF](https://community.mp3tag.de/u/AMJF)
#### Post date: [April 2, 2014, 5:18am UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/17 "2014-04-02T05:18:47Z")

</div>

Just went through 40 albums over 1100+ files with Mp3tag and it only took about 25 minutes - I think it took more time to set up the Actions previously!

Thanks for your help, in any case!

---

<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:24pm UTC](https://community.mp3tag.de/t/find-and-replace-list-of-album-tags/15613/18 "2026-02-09T12:24:58Z")

</div>


