# how to get the first letter of the first word UPPER

**URL:** https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351
**Category:** General Discussion
**Created:** [April 23, 2012, 10:09am UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351 "2012-04-23T10:09:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![evergreen1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@evergreen1](https://community.mp3tag.de/u/evergreen1)
#### Post date: [April 23, 2012, 10:09am UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351/1 "2012-04-23T10:09:58Z")

</div>

action case conversion  
i want the first letter of the first word in the title in the upper case and others in lower case. i tried all the option in the case conversion but failed. i have titles with leading digits. the sentence option also gives me the lower case. mixed case gives me the first letter of each word in upper.

eg\> **101 Pari Malar**

wanted to get it as\> **101 Pari malar**  
thanks

---

<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: [April 23, 2012, 10:19am UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351/2 "2012-04-23T10:19:05Z")

</div>

> [@evergreen1](#):
>
> .,.. i have titles with leading digits. ...

Action "Replace with regular expression"  
Regular expression:  
^(\d+ .)(.\*)  
replace with:  
$upper($1)$lower($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: [April 23, 2012, 11:33am UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351/3 "2012-04-23T11:33:20Z")

</div>

> [@evergreen1](#):
>
> ... i want the first letter of the first word in the title in the upper case and others in lower case. ... eg\> **101 Pari Malar** wanted to get it as\> **101 Pari malar** thanks

Use the **converter "Tag - Filename"** , or an **action "Format value"** on the field \_FILENAME, with the following scripting expression ...

**$left(%\_filename%,$strchr(%\_filename%,' '))$caps3($cutLeft(%\_filename%,$strchr(%\_filename%,' ')))**

Use the **converter "Filename - Filename"**...

 

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

 

_Select format string_

 

Old filename pattern:  
**%1 %2**

 

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

 

Preview  
From:  
**101 PARI MALAR.mp3**  
To:  
**101 Pari malar.mp3**

 

DD.20120423.1535.CEST

---

<div class="post-metadata">

### Author: ![evergreen1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@evergreen1](https://community.mp3tag.de/u/evergreen1)
#### Post date: [April 23, 2012, 10:13pm UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351/4 "2012-04-23T22:13:25Z")

</div>

> [@ohrenkino](#):
>
> Action "Replace with regular expression"  
> Regular expression:  
> ^(\d+ .)(.\*)  
> replace with:  
> $upper($1)$lower($2)

thanks . it works. have a nice day.

---

<div class="post-metadata">

### Author: ![evergreen1](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/e/a9adbd/32.png) [@evergreen1](https://community.mp3tag.de/u/evergreen1)
#### Post date: [April 23, 2012, 10:14pm UTC](https://community.mp3tag.de/t/how-to-get-the-first-letter-of-the-first-word-upper/13351/5 "2012-04-23T22:14:29Z")

</div>

> [@DetlevD](#):
>
> Use the **converter "Tag - Filename"** , or an **action "Format value"** on the field \_FILENAME, with the following scripting expression ...
> 
> **$left(%\_filename%,$strchr(%\_filename%,' '))$caps3($cutLeft(%\_filename%,$strchr(%\_filename%,' ')))**
> 
> Use the **converter "Filename - Filename"**...
> 
>  
> 
> **Convert** | **Filename - Filename** | **ALT+3**
> 
>  
> 
> _Select format string_
> 
>  
> 
> Old filename pattern:  
> **%1 %2**
> 
>  
> 
> New filename pattern:  
> **%1 $caps3(%2)**
> 
>  
> 
> Preview  
> From:  
> **101 PARI MALAR.mp3**  
> To:  
> **101 Pari malar.mp3**
> 
>  
> 
> DD.20120423.1535.CEST

thanks a lot for the reply . f/n-f/n tried and it works. have a nice day.
