# Converting only one character

**URL:** <https://community.mp3tag.de/t/converting-only-one-character/61376>\
**Category:** Support\
**Created:** [June 26, 2023, 2:19am UTC](https://community.mp3tag.de/t/converting-only-one-character/61376 "2023-06-26T02:19:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoaoBC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@JoaoBC](https://community.mp3tag.de/u/JoaoBC)\
**Post date:** [June 26, 2023, 2:19am UTC](https://community.mp3tag.de/t/converting-only-one-character/61376/1 "2023-06-26T02:19:26Z")

</div>

Goodnight.  
I need other technical help (support).  
There are two conversion operations.  
But for a single letter, after the apostrophe, parentheses or cuotas  
One from lowercase to uppercase, for use... with singer names (%artist%).  
Another, from uppercase to lowercase, to use... with the name of the song (%title%).

example for up (before -\> after):

D' **a** mmare -\> D' **A** mare  
John' **m** ary -\> John' **M** ary  
John, ( **t** he) Legend -\> John, ( **T** he) Legend  
Paul, " **t** he" Man -\> Paul, " **T** he" Man

example for down (before -\> after)

Can' **T** -\> Can' **t**  
I' **M** -\> I'm

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 26, 2023, 5:52am UTC](https://community.mp3tag.de/t/converting-only-one-character/61376/2 "2023-06-26T05:52:24Z")

</div>

> [@JoaoBC](#):
>
> John, ( **t** he) Legend -\> John, ( **T** he) Legend  
> Paul, " **t** he" Man -\> Paul, " **T** he" Man

Treat these with an action of the type "Case Conversion" in which you add the characters that describe a word boundary for you. Do not include the apostrophe.

The other cases like

> [@JoaoBC](#):
>
> D' **a** mmare -\> D' **A** mare

I see as a an upper case letter follwed by the apostrophe and 2 lowercase letters.  
Try  
`$regexp(%artist%,(\u)''(\l[a-z]),$1''\u$2)`  
I cannot think of anythig decent for

> [@JoaoBC](#):
>
> John' **m** ary -\> John' **M** ary

(is that a real case?)

---

<div class="post-metadata">

**Author:** ![JoaoBC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/j/3bc359/32.png) [@JoaoBC](https://community.mp3tag.de/u/JoaoBC)\
**Post date:** [June 26, 2023, 12:29pm UTC](https://community.mp3tag.de/t/converting-only-one-character/61376/3 "2023-06-26T12:29:00Z")

</div>

Good morning.  
Forgive me for so many questions, I'm a newbbie and I use google translate as I don't know the English language.

> [@ohrenkino](#):
>
> > [@JoaoBC](#):
> >
> > John, ( **t** he) Legend -\> John, ( **T** he) Legend  
> > Paul, " **t** he" Man -\> Paul, " **T** he" Man
> 
> Treat these with an action of the type "Case Conversion" in which you add the characters that describe a word boundary for you. Do not include the apostrophe.

I used the sequence  
Menu -\> Actions -\> Actions -\> New -\> (group name) "Capitalisar"  
-\> (new window) -\> New -\> mixed case -  
For each of the signs.  
|However, only the last one works.  
The configuration file looks like this:  
_capitalizar.mta_

**[#0]**  
**T=1**  
**F=\_ALL**  
**1=1**  
**2="**

**[#1]**  
**T=1**  
**F=\_ALL**  
**1=1**  
**2=[**

**[#2]**  
**T=1**  
**F=\_ALL**  
**1=1**  
**2=(**

**[#3]**  
**T=1**  
**F=\_ALL**  
**1=1**  
**2={**

E o arquivo _capitalizar.mtg_

**selection=Case conversion\u000b0\u000bCD-R\u000b0\u000bStandard\u000b0\u000bCapitalizar\u000b1\u000b**

 ![Captura de Tela (10)](https://community.mp3tag.de/uploads/default/original/2X/c/c3654d590e5f943bb5d67dbe71d6a85371d6c15e.png)

---

<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 26, 2023, 12:33pm UTC](https://community.mp3tag.de/t/converting-only-one-character/61376/4 "2023-06-26T12:33:33Z")

</div>

Do not create a separate action for each character that describes a word boundary but just 1.  
In that action enter a list of characters like  
`"(.: /`  
Otherwise you execute the action several times and each time only the single character is taken and that may reverse the conversion of the previous actions.

And just as @lyricslover pointed out: it is also no good idea to apply such an action to \_ALL. There may be unwanted side effects.

Please not also, that there are a number of artists who like their names with strange cases like  
t.A.T.u.  
2Inventions  
2Pac  
a l l i e  
A\*Teens  
ZZ Top  
AC/DC  
a-ha

and many more

---

<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:** [July 26, 2023, 12:33pm UTC](https://community.mp3tag.de/t/converting-only-one-character/61376/5 "2023-07-26T12:33:49Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
