# Can't make certain expression UPPERCASE

**URL:** <https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996>\
**Category:** Support\
**Created:** [March 1, 2010, 8:06am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996 "2010-03-01T08:06:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lebon14](https://community.mp3tag.de/user_avatar/community.mp3tag.de/lebon14/32/8738_2.png) [@Lebon14](https://community.mp3tag.de/u/Lebon14)\
**Post date:** [March 1, 2010, 8:06am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/1 "2010-03-01T08:06:54Z")

</div>

Hi...

I just can't make certain expression like "DJ", "NRG", "CD", etc in Filenames, Titles and Artists variables.

I'm using v2.45a

Thx for your help.

---

<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 1, 2010, 10:56am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/2 "2010-03-01T10:56:49Z")

</div>

> [@Lebon14](#):
>
> I just can't make certain expression like "DJ", "NRG", "CD", etc in Filenames, Titles and Artists variables.

the question is a little cryptic.  
Ifr you have a discrete amount of words that need a special treatment then you will have to create an action of the type "Replace".  
you will need that for every tag and for every word unless you want to replace in \_all fields (not advised).  
E.g. Search for  
dj  
and replace it with  
DJ  
but make the search case sensitive and word-only.

A word of warning for the filename: apparently some operating systems do and other do not distinguish case in filenames. so best would be to write either only lower case or only upper case filenames.

---

<div class="post-metadata">

**Author:** ![Lebon14](https://community.mp3tag.de/user_avatar/community.mp3tag.de/lebon14/32/8738_2.png) [@Lebon14](https://community.mp3tag.de/u/Lebon14)\
**Post date:** [March 1, 2010, 11:08pm UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/3 "2010-03-01T23:08:28Z")

</div>

Sorry... I was a little ambiguous. I followed the advice of the last post here :  
[/t/7341/1](https://community.mp3tag.de/t/7341/1)

I was able to make this part work with every tag I want :  
ACTION »Format value«  
Field: TITLE  
Format string: $caps2(%title%,'/[(. -')

But, I wasn't able to make :  
ACTION »Replace with regular expression«  
Field: TITLE  
Regular expression: (\W)(cd)(\W)  
Replace matches with: $1CD$3  
[\_] case-sensitive comparison

...work.

I'm using Windows 7 Home Premium.

And, I'll try your suggestion 😉

EDIT

...wait that was the same thing as I tried numerous time. So, the replace option doesn't work.

Tried that exactly :  
Action : Replace  
Regular expression : dj  
Replace matches with : DJ  
[X] Case sensitive  
[X] Word-only

---

<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 2, 2010, 7:40am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/4 "2010-03-02T07:40:03Z")

</div>

> [@Lebon14](#):
>
> Tried that exactly :  
> Action : Replace  
> Regular expression : dj  
> Replace matches with : DJ  
> Case sensitive  
> Word-only

No, you did not try exactly that as you used an action of the type "replace with regular expression". In your search string there is no regular expression.  
It is just a plain Replace.  
So if you have fields that ask you to enter a regular expression, your action is of the wrong type.  
The replace action only features the fields  
Field  
Original  
Replace by  
and the options for word only and case sensitive.

This setting requires a "dj" in the tag - a "Dj" would be ignored.

---

<div class="post-metadata">

**Author:** ![Lebon14](https://community.mp3tag.de/user_avatar/community.mp3tag.de/lebon14/32/8738_2.png) [@Lebon14](https://community.mp3tag.de/u/Lebon14)\
**Post date:** [March 3, 2010, 6:04am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/5 "2010-03-03T06:04:06Z")

</div>

oups... my bad. The thing I tried WAS a replace

FIELD : TITLE  
Original : dj  
Replace : DJ  
And ticked both cases.

But now that I retried it, I tried leaving both case empty and it worked!

Yay! 🙂

Case closed!

---

<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:** [January 8, 2026, 7:01am UTC](https://community.mp3tag.de/t/cant-make-certain-expression-uppercase/9996/6 "2026-01-08T07:01:35Z")

</div>

Closed on January 8, 2026, 7:01am UTC

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