# Action for Case change inside parenthesis

**URL:** https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768
**Category:** Support
**Created:** [September 15, 2006, 10:50am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768 "2006-09-15T10:50:23Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![VaSiMpoG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/b782af/32.png) [@VaSiMpoG](https://community.mp3tag.de/u/VaSiMpoG)
#### Post date: [September 15, 2006, 10:50am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/1 "2006-09-15T10:50:23Z")

</div>

I need to say in advance that i have already searched through the board as much as i could to find help but i was unlucky ! ☹☹☹

I want to be able to change the case inside a parenthesis( "(" , ")" ) to Mixed Case.Is there any possibility to do so ?I want every word in any parenthesis to begin with a capital.

In case you don't see the point i watn to make it clear.Think of a song which needs extra info in the title field like remix name,year,etc.  
i.e. Artist - Song (dj anyone whatever bla remix) \<-- That's what i am getting after applying a case change (quick) action to the TITLE field (Song (dj anyone whatever bla remix))  
So i want this one to look like Song ( **D** j **A** nyone **W** hatever **B** la **R** emix)  
I hope you get my point  
Thank you a lot

---

<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: [September 16, 2006, 2:08am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/2 "2006-09-16T02:08:35Z")

</div>

> [@VaSiMpoG](#):
>
> So i want this one to look like Song ( **D** j **A** nyone **W** hatever **B** la **R** emix)

Create an action like this one:

_Action type:_ **Format value**  
_Field:_ **TEST**  
_Formatstring:_ **$caps(%TEST%,' (')**

DD.20060916.0607

---

<div class="post-metadata">

### Author: ![Kee-Lo](https://community.mp3tag.de/user_avatar/community.mp3tag.de/kee-lo/32/147_2.png) [@Kee-Lo](https://community.mp3tag.de/u/Kee-Lo)
#### Post date: [September 16, 2006, 9:09am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/3 "2006-09-16T09:09:10Z")

</div>

Thanks DetlevD, I wanted to know that too 🙂

---

<div class="post-metadata">

### Author: ![VaSiMpoG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/b782af/32.png) [@VaSiMpoG](https://community.mp3tag.de/u/VaSiMpoG)
#### Post date: [September 16, 2006, 8:08pm UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/4 "2006-09-16T20:08:06Z")

</div>

> [@DetlevD](#):
>
> Create an action like this one:
> 
> _Action type:_ **Format value**  
> _Field:_ **TEST**  
> _Formatstring:_ **$caps(%TEST%,' (')**
> 
> DD.20060916.0607

Thank you but this is partially ok.  
The function you mentioned triggers a case change after any given character.I wanted to be able to change the case inside a parenthesis to **Mixed** like in the example i gave

> [@](#):
>
> ( **D** j **A** nyone **W** hatever **B** la **R** emix)

I hope i am clear... ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:") ![:rolleyes:](https://community.mp3tag.de/uploads/default/original/1X/3a79e8b0b7d169b30216785521d7c6f4f895c421.gif ":rolleyes:")  
And thank you again...

---

<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: [September 17, 2006, 2:30am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/5 "2006-09-17T02:30:37Z")

</div>

> [@VaSiMpoG](#):
>
> ... I wanted to be able to change the case inside a parenthesis to **Mixed** like in the example i gave ...  
> I hope i am clear...

Hmm, not even more clear than before.  
You want to change the case inside a parenthesis to **Mixed**. This problem is clear and solved.  
What do you want to do with text outside the parenthesis?

DD.20060917.0630

Here comes another approach. Create an action like this one:  
_Action type:_ **Replace with regular expression**  
_Field:_ **TEST**  
_Regular expression:_ **^(._)((._))(.\*)$**  
_Replace matches with:_ **$1($caps($2))$3**

[] case-sensitive comparison

pre: **Artist - Song (DJ anyone whatever bla remix) Test II**  
post: **Artist - Song (Dj Anyone Whatever Bla Remix) Test II**

DD.20060917.0654

_Bug report to Florian_:  
There seems to be an anomaly on the 'Replace matches' line when using following RegExp actions:

_Action type:_ **Replace with regular expression**  
_Field:_ **TEST**  
_Regular expression:_ **^(._)((._))(.\*)$**

_Replace matches with:_ **$1$caps($2,' (')$3**

_Replace matches with:_ **$1$caps($2,' )')$3**

DD.20060917.0707

---

<div class="post-metadata">

### Author: ![VaSiMpoG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/b782af/32.png) [@VaSiMpoG](https://community.mp3tag.de/u/VaSiMpoG)
#### Post date: [September 18, 2006, 7:16pm UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/6 "2006-09-18T19:16:47Z")

</div>

![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:") ![:w00t:](https://community.mp3tag.de/uploads/default/original/1X/cb01eca72fe9339ff6f3ec9f1e3c5fe002be0f0a.gif ":w00t:")

Yeah!!! That's right..! This is what i had in mind. You implemented my thought exactly,i could say,extending it a bit as well with that "$3" parameter.

I am so thankful  
You solved a big problem for me.

As for my inclearness i want to say that your first suggestion [$caps(...,'..')] was coming up with another thing than the one my mind.It ends up giving me a title like this :

> Title name ( **D** j anyone whatever bla remix)

which only makes the **first** letter in the parenthesis capital (sentence case)

---

<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: [September 19, 2006, 1:40am UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/7 "2006-09-19T01:40:25Z")

</div>

> [@VaSiMpoG](#):
>
> As for my inclearness i want to say that your first suggestion [$caps(...,'..')] was coming up with another thing than the one my mind.It ends up giving me a title like this :
> 
> > Title name ( **D** j anyone whatever bla remix)
> 
> which only makes the **first** letter in the parenthesis capital (sentence case)

As for my clearness I want to say, that I suggested to do this  
Action type: **Format value**  
Field: **TEST**  
Formatstring: **$caps(%TEST%,' (')**  
Look at the second parameter ' (', there is a space character before the round bracket, that results into 'Song (Dj Anyone Whatever Bla Remix)'.

> [@VaSiMpoG](#):
>
> Yeah!!! That's right..! This is what i had in mind. You implemented my thought exactly, ... I am so thankful. You solved a big problem for me.

Fine.  
DD.20060919.0540

---

<div class="post-metadata">

### Author: ![VaSiMpoG](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/v/b782af/32.png) [@VaSiMpoG](https://community.mp3tag.de/u/VaSiMpoG)
#### Post date: [September 19, 2006, 4:48pm UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/8 "2006-09-19T16:48:20Z")

</div>

> [@DetlevD](#):
>
> As for my clearness I want to say, that I suggested to do this  
> Action type: **Format value**  
> Field: **TEST**  
> Formatstring: **$caps(%TEST%,' (')**  
> Look at the second parameter ' (', there is a space character before the round bracket, that results into 'Song (Dj Anyone Whatever Bla Remix)'.

I cannot see the point in streching this topic anymore but due to my willingness to support my case i want to say this:  
In case you dinn't notice or didn't think of it at all (yes, **it can be my fault** ) by Song i don't mean **any single word**.A song name can be more than two words.Claiming this is the case your first suggestion

> [@](#):
>
> $caps(%TEST%,' (')

would turn the **whole** TITLE field into Mixed Case.

> eg. **S** ong **T** itle **N** ame (Info Of The Song)

which is not my target You could try this one and come up with the results I have just done it...

Thanks for everything...

---

<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: [September 19, 2006, 5:16pm UTC](https://community.mp3tag.de/t/action-for-case-change-inside-parenthesis/3768/9 "2006-09-19T17:16:40Z")

</div>

> [@VaSiMpoG](#):
>
> ... would turn the **whole** TITLE field into Mixed Case ... which is not my target

Ah, yes, now it is completely clear. Have fun with Mp3tag.

DD.20060919.2115

---

<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/action-for-case-change-inside-parenthesis/3768/10 "2026-02-09T12:19:53Z")

</div>


