Action for lyrics case change

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

See this thread: 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