# Uppercase after ()

**URL:** https://community.mp3tag.de/t/uppercase-after/6900
**Category:** Support
**Created:** [June 2, 2008, 10:47am UTC](https://community.mp3tag.de/t/uppercase-after/6900 "2008-06-02T10:47:08Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [May 7, 2012, 5:02pm UTC](https://community.mp3tag.de/t/uppercase-after/6900/2 "2012-05-07T17:02:54Z")

</div>

> [@djodjolyon](#):
>
> ... Here is what I have :  
> east of the - rockfort rock (maurice stephan)  
> And here is what I want :  
> East Of The - Rockfort rock (Maurice Stephan)  
> I need Normal Upper case mode at the beginning, sentence after "-" and normal uppercase mode after ( ...

Assuming the string to be converted is the current value of the filename, then you can use the Mp3tag converter ...

 

**Convert** | **Filename - Filename** | **ALT+3**

 

_Select format string_

 

Old filename pattern:  
**%1 - %2 (%3)**

 

New filename pattern:  
**$caps(%1) - $caps3(%2) ($caps(%3))**

 

Preview  
From:  
**east of the - rockfort rock (maurice stephan).mp3**  
To:  
**East Of The - Rockfort rock (Maurice Stephan).mp3**

 

... or ...

Action: Format value:  
Field: TITLE  
Format string:

**$regexp($regexp(%TITLE%,'\b.','\u$0'),'^(.+?\s-\s)(.)(.+?)(\s\(.+?\))$','$1$2\L$3\E$4')**

... or ...  
Format string:

**$regexp($caps($lower(%TITLE%),'( '),'^(.+?\s-\s)(.)(.+?)(\s\(.+?\))$','$1$2\L$3\E$4')**

... or ...

Begin Action Group **Test\_2012#20120508.GuessValues** 

Action #1  
_Actiontype 7:_ **Import tag fields (guess values)**  
_Source format \_\_:_ **%\_FILENAME%**  
_Guessing pattern:_ **%P1% - %P2% (%P3%)**

 

Action #2  
_Actiontype 5:_ **Format value**  
_Field \_\_\_\_\_\_:_ **\_FILENAME**  
_Formatstring:_ **$caps(%P1%)' - '$caps3(%P2%)' ('$caps(%P3%)')'**

 

Action #3  
_Actiontype 9:_ **Remove fields**  
_Fields to remove (semicolon separated):_ **P1;P2;P3**

 

End Action Group **Test\_2012#20120508.GuessValues** (3 Actions)

 

See also:  
[Newbie Struggling](https://community.mp3tag.de/t/12102/10)

 

DD.20120508.1035.CEST

---

_[View the full topic](https://community.mp3tag.de/t/uppercase-after/6900)._
