# Captilize Text

**URL:** https://community.mp3tag.de/t/captilize-text/13576
**Category:** Support
**Created:** [June 23, 2012, 11:40am UTC](https://community.mp3tag.de/t/captilize-text/13576 "2012-06-23T11:40:24Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [June 23, 2012, 11:40am UTC](https://community.mp3tag.de/t/captilize-text/13576/1 "2012-06-23T11:40:24Z")

</div>

How do I write a script to Cap letters after quotation.

Ex:

Let 'em Dance to read - Let 'Em Dance

Now You Got 'em to read - Now You Got 'Em

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: [June 23, 2012, 4:09pm UTC](https://community.mp3tag.de/t/captilize-text/13576/2 "2012-06-23T16:09:34Z")

</div>

A script? Or an action?  
If so: create an action of the type case conversion for the field you need (e.g. TITLE).  
Add the apostrophe to the characters that show the word boundaries.

---

<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: [June 23, 2012, 4:12pm UTC](https://community.mp3tag.de/t/captilize-text/13576/3 "2012-06-23T16:12:58Z")

</div>

> [@Beluna](#):
>
> How do I write a script to Cap letters after quotation.  
> Ex:  
> Let 'em Dance to read - Let 'Em Dance  
> Now You Got 'em to read - Now You Got 'Em  
> Thanks

 

**Convert** | **Tag - Tag** | **ALT+5**

 

_Select format string_

 

Field:  
**TITLE**

 

Format string:  
**$caps(%TITLE%,'' )**  
... or ...  
**$caps(%TITLE%,$char(39)$char(32))**

 

Preview  
From:  
**Let 'em Read to learn**  
To:  
**Let 'Em Read To Learn**

 

... or even better ...

 

**Convert** | **Tag - Tag** | **ALT+5**

 

_Select format string_

 

Field:  
**TITLE**

 

Format string:

 **$regexp(%TITLE%,'(\s''''.)','\U$1')** 

Preview  
From:  
**Let 'em read to learn (Let's do it again)**  
To:  
**Let 'Em read to learn (Let's do it again)**

 

... or use an action ...

Begin Action Group **Test\_2012#20120623.ApoUpper** 

Action #1  
_Actiontype 4:_ **Replace with regular expression**  
_Field \_\_\_\_\_\_\_\_\_\_\_\_\_\_:_ **TITLE**  
_Regular expression \_:_ **(\s'.)**  
_Replace matches with:_ **\U$1**

 [\_] Case sensitive comparison 

End Action Group **Test\_2012#20120623.ApoUpper** (1 Action)

 

See also ....  
[/t/12513/1](https://community.mp3tag.de/t/12513/1)

 

DD.20120623.2013.CEST  
Edit. DD.20120627.0630.CEST

---

<div class="post-metadata">

### Author: ![Beluna](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/ed655f/32.png) [@Beluna](https://community.mp3tag.de/u/Beluna)
#### Post date: [June 24, 2012, 11:39am UTC](https://community.mp3tag.de/t/captilize-text/13576/4 "2012-06-24T11:39:29Z")

</div>

> [@DetlevD](#):
>
> **Convert** | **Tag - Tag** | **ALT+5**
> 
>  
> 
> _Select format string_
> 
>  
> 
> Field:  
> **TITLE**
> 
>  
> 
> Format string:  
> **$caps(%TITLE%,'' )**
> 
>  
> 
> Preview  
> From:  
> **Let 'em Read to learn**  
> To:  
> **Let 'Em Read To Learn**
> 
>  
> 
> DD.20120623.2013.CEST

Perfect... Thanks

---

<div class="post-metadata">

### Author: ![stevehero](https://community.mp3tag.de/user_avatar/community.mp3tag.de/stevehero/32/337_2.png) [@stevehero](https://community.mp3tag.de/u/stevehero)
#### Post date: [June 26, 2012, 6:15pm UTC](https://community.mp3tag.de/t/captilize-text/13576/5 "2012-06-26T18:15:53Z")

</div>

> [@Beluna](#):
>
> How do I write a script to Cap letters after quotation.
> 
> Ex:
> 
> Let 'em Dance to read - Let 'Em Dance
> 
> Now You Got 'em to read - Now You Got 'Em
> 
> Thanks

To make sure you don't change files with 'let's' or 'They've' for example.

**From:** Let 'em Dance to read (Let's Not Change this)

**To:** Let 'Em Dance To Read (let'S Not Change this)

**FILTER** [F3] out the files first with the following examples: 

**%title%**  **MATCHES**  **\s** This will make ensure you only filter out 'Let 'Em Dance To Read' and NOT 'Let's Not Change this'  
**%title%**  **HAS**  **'** Titles with all '

 **THEN USE:** 

Begin Action Group _ **\_Script Test#TEST** _

 **Action #1** _Actiontype 4:_ _ **Replace with regular expression** _ _Field \_\_\_\_\_\_\_\_\_\_\_\_\_\_:_ _ **TITLE** _ _Regular expression \_:_ _**(\s+)'(.?)**_ _Replace matches with:_ _**$1'$upper($2)**_ [\_] Case sensitive comparison 

End Action Group _ **\_Script Test#TEST** _ (1 Action)

 

This will only effect anything with a space in front of the '.

---

<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:23pm UTC](https://community.mp3tag.de/t/captilize-text/13576/6 "2026-02-09T12:23:54Z")

</div>


