# Initialize Album Name

**URL:** https://community.mp3tag.de/t/initialize-album-name/12814
**Category:** Support
**Created:** [December 14, 2011, 9:17pm UTC](https://community.mp3tag.de/t/initialize-album-name/12814 "2011-12-14T21:17:25Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![RockmanNeo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e56c9b/32.png) [@RockmanNeo](https://community.mp3tag.de/u/RockmanNeo)
#### Post date: [December 14, 2011, 9:17pm UTC](https://community.mp3tag.de/t/initialize-album-name/12814/1 "2011-12-14T21:17:25Z")

</div>

Hi, I'm new to the forums but have been a long time mp3tag user for years.  
I've been meaning to organize my mp3 songs by using tag-\>filename with this format %artist% - %album% - %track% - %title%.

But some album names make the file name become too long for my taste. I would like to shorten it by initializing album names.

For example: Cage The Elephant - Thank You Happy Birthday - 04 - Shake Me Down.mp3 to become  
Cage The Elephant - TYHB - 04 - Shake Me Down.mp3

How do I do that?

Thank you. ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [December 15, 2011, 7:34am UTC](https://community.mp3tag.de/t/initialize-album-name/12814/2 "2011-12-15T07:34:37Z")

</div>

> [@RockmanNeo](#):
>
> Hi, I'm new to the forums but have been a long time mp3tag user for years. ... But some album names make the file name become too long for my taste. I would like to shorten it by initializing album names.  
> For example: Cage The Elephant - Thank You Happy Birthday - 04 - Shake Me Down.mp3 to become  
> Cage The Elephant - TYHB - 04 - Shake Me Down.mp3  
> How do I do that? Thank you. ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")

Hi RockmanNeo, to change the album part of the format string to only consist of "word's first letter capital characters", you can try something like this ...

**$regexp($caps(%ALBUM%),'\s|\l',)**

... or this ...

**$regexp($caps2(%ALBUM%),'\s|\l',)**

DD.20111215.0935.CET

This will give also good results, returning only upcase letters and digits.

 **$regexp($caps(%ALBUM%),'[^[:digit:][:upper:]]',) $regexp($caps(%ALBUM%),'[\D\U]',) $regexp($caps2(%ALBUM%),'[^[:digit:][:upper:]]',) $regexp($caps2(%ALBUM%),'[\D\U]',)****$regexp($caps2(%ALBUM%,'() '''),'[\D\U]',)**

DD.20140228.1850.CET

---

<div class="post-metadata">

### Author: ![RockmanNeo](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/r/e56c9b/32.png) [@RockmanNeo](https://community.mp3tag.de/u/RockmanNeo)
#### Post date: [December 15, 2011, 5:01pm UTC](https://community.mp3tag.de/t/initialize-album-name/12814/3 "2011-12-15T17:01:08Z")

</div>

Thank you thank you that works!! 😃

---

<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:23pm UTC](https://community.mp3tag.de/t/initialize-album-name/12814/4 "2026-02-09T12:23:30Z")

</div>


