# Modify case...

**URL:** https://community.mp3tag.de/t/modify-case/6920
**Category:** Support
**Created:** [June 7, 2008, 6:58pm UTC](https://community.mp3tag.de/t/modify-case/6920 "2008-06-07T18:58:41Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![djodjolyon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djodjolyon](https://community.mp3tag.de/u/djodjolyon)
#### Post date: [June 7, 2008, 6:58pm UTC](https://community.mp3tag.de/t/modify-case/6920/1 "2008-06-07T18:58:41Z")

</div>

Hello,

Here is my last question about case...  
I could do everything I wanted exept that.

I want that in one action, all my fields have the good case.

the problem come if I have a word in uppercase. I want it to stay like it is already.

Here is an exemple.  
I have : aaaa BBB ccc.mp3  
I want : Aaaa BBB Ccc.mp3

I already have an action to change the Aaa & the Ccc but it will also change the Bbb like that.

So I thaught about something like that but I can't find the way to make it work :  
Regular expression : (.?_)\s(word and numbers with only uppercase)\s(.?_)  
Replace with : $caps($1) $upper($2) $caps($3)

Thank you for helping me...

---

<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 7, 2008, 7:25pm UTC](https://community.mp3tag.de/t/modify-case/6920/2 "2008-06-07T19:25:28Z")

</div>

$caps2(%\_filename%)

---

<div class="post-metadata">

### Author: ![djodjolyon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djodjolyon](https://community.mp3tag.de/u/djodjolyon)
#### Post date: [June 8, 2008, 12:59am UTC](https://community.mp3tag.de/t/modify-case/6920/3 "2008-06-08T00:59:12Z")

</div>

I did not understand your reply. Thanks anyway.  
Perhaps it wasn't very clear... Because of my English!!!

For exemple I have this title : They Want To EAT This  
I wanted it with lower case for all words exept for EAT.

Anyway, I found the answer actually. Here is how to do that  
Regular expression : (.+?)\s(\u{2,})\s(.+?)  
Replace with : $lower($1) $upper($2) $lower($3)  
case : [x]

I have an other little problem... If you can help me.  
I want that rmx and remixed becomes remix.  
I've done it in 3 regular expression but I would like to do that in one action if possible!!!!  
I did it in 3 times because I want it to change only if it is a word and I don't know how to do that with regular expression.  
So I have one if the word begin, one if the word is between 2 others and a last one if the word is at the end.

And I don't know how to put two terms with the replace action.

---

<div class="post-metadata">

### Author: ![djodjolyon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djodjolyon](https://community.mp3tag.de/u/djodjolyon)
#### Post date: [June 8, 2008, 5:08pm UTC](https://community.mp3tag.de/t/modify-case/6920/4 "2008-06-08T17:08:28Z")

</div>

> [@djodjolyon](#):
>
> I have an other little problem... If you can help me.  
> I want that rmx and remixed becomes remix.  
> I've done it in 3 regular expression but I would like to do that in one action if possible!!!!  
> I did it in 3 times because I want it to change only if it is a word and I don't know how to do that with regular expression.  
> So I have one if the word begin, one if the word is between 2 others and a last one if the word is at the end.
> 
> And I don't know how to put two terms with the replace action.

Well I nearly found the solution... but I still have a problem with the space when it replace.

the regular expression I use is :  
\s(rmx|remixed|remixé|remix)\s|^(rmx|remixed|remixé|remix)\s|\s(rmx|remixed|remixé|remix)$  
and the replace field is :  
space[space]  
But the thing is that it put a space before (remix) even if the word is beginning and a space after (remix) even if the word is the last one.  
I would like that the action put a space only if there was one before.  
I would like to keep it in one action if possible.  
Thank you for helping me

---

<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 8, 2008, 5:55pm UTC](https://community.mp3tag.de/t/modify-case/6920/5 "2008-06-08T17:55:56Z")

</div>

I use  
RE: (^| )(rmx|remixed|remixé|remix)(?= |$)  
Replace: $1(remix)

--  
$caps2(%\_filename%) can be used with action "Format value" or Convert \> Tag - filename  
But the stuff you write in your 2nd post is different from the first.

---

<div class="post-metadata">

### Author: ![djodjolyon](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djodjolyon](https://community.mp3tag.de/u/djodjolyon)
#### Post date: [June 9, 2008, 2:09am UTC](https://community.mp3tag.de/t/modify-case/6920/6 "2008-06-09T02:09:09Z")

</div>

Thanks a lot.  
It's much better now.

---

<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:21pm UTC](https://community.mp3tag.de/t/modify-case/6920/7 "2026-02-09T12:21:00Z")

</div>


