# Action for lyrics case change

**URL:** <https://community.mp3tag.de/t/action-for-lyrics-case-change/17866>\
**Category:** Support\
**Created:** [April 18, 2016, 9:03pm UTC](https://community.mp3tag.de/t/action-for-lyrics-case-change/17866 "2016-04-18T21:03:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![unfaesed](https://community.mp3tag.de/user_avatar/community.mp3tag.de/unfaesed/32/468_2.png) [@unfaesed](https://community.mp3tag.de/u/unfaesed)\
**Post date:** [April 18, 2016, 9:03pm UTC](https://community.mp3tag.de/t/action-for-lyrics-case-change/17866/1 "2016-04-18T21:03:34Z")

</div>

Hi, scripting actions is completely new for me. I have worked out how to use the inbuilt actions for changing case but none of them suit what I would like to do. What I would like to be able to do is set up an action that will strip any punctuation from the end of each lyric line and change the first letter of the first word in each line to Uppercase.

e.g. change

blah blah blah blah,  
blah blah, blah blah,  
blah blah blah, blah,  
blah blah blah blah.

to  
Blah blah blah blah  
Blah blah, blah blah  
Blah blah blah, blah  
Blah blah blah blah

is this possible and if so how?  
Regards

---

<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 19, 2016, 9:13am UTC](https://community.mp3tag.de/t/action-for-lyrics-case-change/17866/2 "2016-04-19T09:13:22Z")

</div>

> [@unfaesed](#):
>
> ...change the first letter of the first word in each line to Uppercase.
> 
> e.g. change
> 
> blah blah blah blah,  
> blah blah, blah blah,  
> blah blah blah, blah,  
> blah blah blah blah.
> 
> to  
> Blah blah blah blah  
> Blah blah, blah blah  
> Blah blah blah, blah  
> Blah blah blah blah
> 
> is this possible and if so how?  
> Regards

See this thread: [https://forums.mp3tag.de/lofiversion/index.php?t12053.html](https://forums.mp3tag.de/lofiversion/index.php?t12053.html)

---

<div class="post-metadata">

**Author:** ![unfaesed](https://community.mp3tag.de/user_avatar/community.mp3tag.de/unfaesed/32/468_2.png) [@unfaesed](https://community.mp3tag.de/u/unfaesed)\
**Post date:** [April 30, 2016, 12:38am UTC](https://community.mp3tag.de/t/action-for-lyrics-case-change/17866/3 "2016-04-30T00:38:54Z")

</div>

> [@ohrenkino](#):
>
> See this thread: [https://forums.mp3tag.de/lofiversion/index.php?t12053.html](https://forums.mp3tag.de/lofiversion/index.php?t12053.html)

After wading through the posts in the link provided and after lots of trial and error (and frustration), I have managed to put together my own little package as an action group which fixes a lot of the common problems I encounter with lyrics (this is of course to my personal taste). Thanks ohrenkino for the link.  
Following are the expressions for anyone that might be interested:

Remove space/s from the start and end of lines  
$regexp(%unsyncedlyrics%,^ +| +$,)

Reduce all instances of multiple spaces to one space  
$regexp(%unsyncedlyrics%, +, )

Remove space in front of question mark  
$regexp(%unsyncedlyrics%, ?,?)

Replace wrong type of apostrophe  
$regexp(%unsyncedlyrics%,´|`,')

Change (space dash space) to (comma space)  
$regexp(%unsyncedlyrics%, - ,‘,’ )

Remove full stop/s, commas & semi colons from the end of all lines  
$regexp(%unsyncedlyrics%,.+|','|;$,)

Change single lower case ‘i’ to upper case ‘I’  
$regexp(%unsyncedlyrics%,\bi\b,I)

Change lower case ‘i’ before apostrophe to upper case ‘I’  
$regexp(%unsyncedlyrics%,\bi',I')

Change start of each line to uppercase (without affecting other uppercase words but doesn’t allow for non-word characters (eg ") at start of line)  
$caps2(%unsyncedlyrics%,$char(10)|)

Regards

---

<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:26pm UTC](https://community.mp3tag.de/t/action-for-lyrics-case-change/17866/4 "2026-02-09T12:26:12Z")

</div>

Closed on February 9, 2026, 12:26pm UTC


