# Change case in title only after " - "

**URL:** <https://community.mp3tag.de/t/change-case-in-title-only-after/42926>\
**Category:** Support\
**Created:** [September 12, 2018, 12:16pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926 "2018-09-12T12:16:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 12, 2018, 12:16pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/1 "2018-09-12T12:16:47Z")

</div>

Hello all and thanks to your help.

Since a long time, with this forum, I'll try to Change case in title only after " - " Exemple :  
I have : "Title that I like - special version"  
I wanted : "Title that I like - Special Version"

I'll try many many things but nothing's works ☹

Can someone can explain me how to ?  
(Sorry for my poor english)  
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:** [September 12, 2018, 12:23pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/2 "2018-09-12T12:23:41Z")

</div>

What about an action group with 3 actions:  
1  
Guess value  
Source: %title%  
Target: %title% - %my\_case%

2  
Case convertion for MY\_CASE  
Conversion: Mixed Case  
Word starts:

3  
Format value for TITLE  
Format string: %title% - %my\_case%

and possibly a 4th action to delete MY\_CASE. But I would add that after a test run so that you do not loose any data.

---

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 12, 2018, 12:43pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/3 "2018-09-12T12:43:19Z")

</div>

Wow !! You Rocks !  
This works like a charm !  
Really thanks.  
Yeah !!!!!

I test with erase "MY\_CASE" and it's OK !

Here is the script :

----------------------------------------------CUT HERE--------------------------------------------  
[#0]  
T=7  
F=%title%  
1=%title% - %my\_case%

[#1]  
T=1  
F=MY\_CASE  
1=1  
2=

[#2]  
T=5  
F=TITLE  
1=%title% - %my\_case%

[#3]  
T=9  
F=MY\_CASE  
----------------------------------------------CUT HERE--------------------------------------------

Juste to say :  
If there's no version (example : "Title that I like"), this script add " - " after the text :  
Before : "Title that I like"  
After : "Title that I like - "  
It may a problem if we have different things. Exemple :

Before :  
"Title that I like - special version"  
"Title that I like too"  
"Title that I detest"

After :  
"Title that I like - Special Version"  
"Title that I like too - "  
"Title that I detest - "

😉  
May be another add can fix this but I'm not expert ! 😜

---

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 20, 2018, 11:52am UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/5 "2018-09-20T11:52:57Z")

</div>

Hi,  
Does anyone can help me to modify the script ?  
Something like:  
"find if ' - ' exist in the title, if it's ok : rename, if ko : don't rename"

Sorry I'm not the best into MP3Tag script !  
😉  
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:** [September 20, 2018, 12:56pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/6 "2018-09-20T12:56:59Z")

</div>

What about filtering?

%title% HAS " - "  
(this also reduces the number of treated files and may speed up things)

---

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 20, 2018, 1:18pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/7 "2018-09-20T13:18:55Z")

</div>

Thanks but how add this, and were ?  
I'm not expert of synthax.

---

<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:** [September 20, 2018, 2:05pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/8 "2018-09-20T14:05:27Z")

</div>

> [@PiC](#):
>
> Thanks but how add this, and were ?

Have a look at the help about filtering:

> **[Filter and Search – Mp3tag Documentation](https://docs.mp3tag.de/filter/)**
>
> Documentation on Filter and Search and keywords to form complex filter expressions. Mp3tag is the universal Tag Editor.

---

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 20, 2018, 2:25pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/9 "2018-09-20T14:25:37Z")

</div>

I saw that, but I don't understand WHERE add "%title% HAS..."  
Actions are a little bit strange when you begin. 😉

---

<div class="post-metadata">

**Author:** ![LyricsLover](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/c6cbf5/32.png) [@LyricsLover](https://community.mp3tag.de/u/LyricsLover)\
**Post date:** [September 20, 2018, 3:01pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/10 "2018-09-20T15:01:50Z")

</div>

![Filter](https://community.mp3tag.de/uploads/default/original/2X/7/7e8b0daf7d573baa4da3c21f92ed4f7380f46c46.gif)

---

<div class="post-metadata">

**Author:** ![poster](https://community.mp3tag.de/user_avatar/community.mp3tag.de/poster/32/4881_2.png) [@poster](https://community.mp3tag.de/u/poster)\
**Post date:** [September 20, 2018, 3:57pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/11 "2018-09-20T15:57:28Z")

</div>

> [@PiC](#):
>
> [#2]  
> T=5  
> F=TITLE  
> 1=%title% - %my\_case%

Instead of filtering you could change the format string to:  
%title%[- %mycase%]

---

<div class="post-metadata">

**Author:** ![PiC](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/p/cdc98d/32.png) [@PiC](https://community.mp3tag.de/u/PiC)\
**Post date:** [September 20, 2018, 4:24pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/12 "2018-09-20T16:24:10Z")

</div>

Thanks LyricsLover ! OK for the filter !!!

Poster : Cool !!  
I update by :  
%title%[- %my\_case%]

And now it's :  
----------------------------------------------CUT HERE--------------------------------------------  
[#0]  
T=1  
F=TITLE  
1=8  
2=

[#1]  
T=7  
F=%title%  
1=%title% - %my\_case%

[#2]  
T=1  
F=MY\_CASE  
1=1  
2=

[#3]  
T=5  
F=TITLE  
1=%title%[- %my\_case%]

[#4]  
T=9  
F=MY\_CASE  
----------------------------------------------CUT HERE--------------------------------------------

Works great, I thank you all !!

---

<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:27pm UTC](https://community.mp3tag.de/t/change-case-in-title-only-after/42926/13 "2026-02-09T12:27:39Z")

</div>


