# String to change song titles

**URL:** https://community.mp3tag.de/t/string-to-change-song-titles/10557
**Category:** Support
**Created:** [June 18, 2010, 5:23pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557 "2010-06-18T17:23:20Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![caboose607](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@caboose607](https://community.mp3tag.de/u/caboose607)
#### Post date: [June 18, 2010, 5:23pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/1 "2010-06-18T17:23:20Z")

</div>

Is there a string you can enter in the actions to replace X with x, but ONLY if its not the first word of the song, or following certain characters?

eg.

Xxx Of the yyy ----\> Xxx of the yyy

Of xxx ---\> Of xxx (ignores because it is the first word)

Xxx. Of yyy ---\> Xxx. Of yyy (ignores because "Of" follows a period)

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 18, 2010, 6:08pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/2 "2010-06-18T18:08:49Z")

</div>

> [@David91](#):
>
> Is there a string you can enter in the actions to replace X with x, but ONLY if its not the first word of the song, or following certain characters?

have you tried the change case action?  
this offers several alternatives like special characters which delimit a word and also several ways to treat the delimited parts of a string.  
e.g. I included "[ \< ( /"" as delimiters. You might want to add a ".".

---

<div class="post-metadata">

### Author: ![caboose607](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@caboose607](https://community.mp3tag.de/u/caboose607)
#### Post date: [June 18, 2010, 6:16pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/3 "2010-06-18T18:16:46Z")

</div>

i dont see how that would help though. that would affect the entire title, not just that specific word i want changed.

i only have certain words lowercased, such as; and, of, to, the, a...but i dont want them lowercased in situations where the song title might start with any of those words, or the word follows specific characters such as periods or colons.

ive got 98% of my library properly named, its just those few songs i have forgotten to fix up, or missed by accident. if i simply make an action to replace XXX with xxx (making sure that match case, and only whole word options are checked), that will change the words i need fixed, but also change the ones that i dont need/want to be changed, and force me to go back and recorrect those.

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [June 19, 2010, 12:30pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/4 "2010-06-19T12:30:53Z")

</div>

You can do that with a **Replace with regular expression** action:

```
Field: TITLE
RegEx: (?<!\.|:)( )(a|an|and|as|at|by|but|for|in|of|on|or|out|the|to)(?= )
Replace matches with: $1$lower($2)
```

---

<div class="post-metadata">

### Author: ![caboose607](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@caboose607](https://community.mp3tag.de/u/caboose607)
#### Post date: [June 19, 2010, 12:56pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/5 "2010-06-19T12:56:57Z")

</div>

Thank you very much Dano, master of the script ![^_^](https://community.mp3tag.de/uploads/default/original/1X/15b21e4a9fd37d565d77674de6a426ea5c1c9673.gif "^\_^")

Its pretty cool how mp3tag supports such intricacy in the things you can do. =)

---

<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:22pm UTC](https://community.mp3tag.de/t/string-to-change-song-titles/10557/6 "2026-02-09T12:22:27Z")

</div>


