# Capitalizing Initials Formula

**URL:** https://community.mp3tag.de/t/capitalizing-initials-formula/3453
**Category:** Support
**Created:** [June 15, 2006, 2:07am UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453 "2006-06-15T02:07:02Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [June 15, 2006, 2:07am UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/1 "2006-06-15T02:07:02Z")

</div>

Hi everyone, had another question I was hoping someone out there could give me a hand with. ![:book:](https://community.mp3tag.de/uploads/default/original/1X/0036d5b68f6226c53f6c68abfd0a7b8096fd4505.gif ":book:")

I want to capitalize artists initials, for example:

**E.l.o. - One More Time.mp3**

to

**E.L.O. - One More Time.mp3**

So what I did was to make a rule that stated this:

Field: **\_Filename**  
Case Conversion: **Mixed Case**  
Words begin from/after any of: **.**

but this is what I ended up getting:

**E.L.O. - One More Time.Mp3**

Is there another formula so that "Mp3" isn't capitalized?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 15, 2006, 2:17pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/2 "2006-06-15T14:17:45Z")

</div>

I thought the extension would not be affected by this action type, maybe a small bug.

But you can try this action:

_Action type:_ **Format value**  
_Field:_ **\_FILENAME**  
_Formatstring:_ **$caps2(%\_filename%,.)**

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [June 23, 2006, 7:45pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/3 "2006-06-23T19:45:23Z")

</div>

Dano You rock thanks it worked perfectly. In the last version of mp3 I could have sworn that was the case it would never cap .mp3 not sure what the scoop is...

thanks again I could have never figured that one out 🙂

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [January 31, 2007, 4:34pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/4 "2007-01-31T16:34:22Z")

</div>

Just wanted to see if anyone knew how to get this to work for other fields.

I tried this for the artists field but its not working.  
Field:Artist  
Format String:$caps(%\_artist%,.)

Is there some global one I could do that would capitalize all initials?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [January 31, 2007, 6:07pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/5 "2007-01-31T18:07:04Z")

</div>

Tag fields have no underscores, it's %artist%

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [February 1, 2007, 1:35am UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/6 "2007-02-01T01:35:07Z")

</div>

Hey Dano, hmm well tried this it didn't work either.

Action type: Format value  
Field: \_FILENAME  
Formatstring: $caps2(%artist%,.)

Did I miss something?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [February 1, 2007, 1:19pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/7 "2007-02-01T13:19:34Z")

</div>

![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:") The proper combinatin would be

Action type: Format value  
Field: ARTIST  
Formatstring: $caps2(%artist%,.)

For all tag fiels at once:  
_Action type:_ **Replace with regular expressions**  
_Field:_ **\_TAG**  
_Regular expression:_ **(\l).**  
_Replace matches with:_ **$upper($1).**

---

<div class="post-metadata">

### Author: ![fcastro](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/f/b3f665/32.png) [@fcastro](https://community.mp3tag.de/u/fcastro)
#### Post date: [February 20, 2007, 1:55am UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/8 "2007-02-20T01:55:30Z")

</div>

Thanks Dano!

---

<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:19pm UTC](https://community.mp3tag.de/t/capitalizing-initials-formula/3453/9 "2026-02-09T12:19:47Z")

</div>


