This has been touched on a few times on this forum (there is one expression made relating to this subject in the pinned topic at the top of this board). However, I don't believe anyone has come up with a regular expression that satisfies all the 'rules' of song titles.
According to the the Standard MIDI files, song titles should adhere to the following rules:
-
The first and last words of each title are always capitalized
-
All words in a title are capitalized as well, except:
2a. Articles (a, an, the)
2b. Conjunctions (and, or, but, nor)
2c. Prepositions <5 letters (at, by, for, from, in, into, of, off, on, onto, out, over, to, up, with)
2d. As (if followed by noun)
- Prepositions are capitalized if part of a two-word phrasal verb (i.e. "Come On," "Hold On," "Get Up," etc.)
Here is a partial list:
Beat Up
Blow Out
Break Down
Break Into
Break Up
Bring Up
Call Off
Call On
Call Up
Carry On
Come Back
Come Down
Come On
Come Out
Come Over
Do Over
Fill In
Fill Out
Find Out
Get Along
Get Around
Get By
Get Over
Get Through
Get Up
Give Back
Give Up
Go Along
Go Away
Go On
Go Over
Hand In
Hang Up
Hold On
Keep On
Keep Up
Leave Out
Let Down
Look For
Look Into
Look Like
Look Out
Look Over
Look Up
Make Out
Make Up
Pack Up
Pass Out
Pick Out
Pick Up
Put Away
Put Off
Put On
Put Out
Put Up
Roll Over
Run Into
Run Out
Run Over
Show Up
Take After
Take Back
Take Off
Take On
Take Up
Talk Back
Talk Over
Throw Away
Try On
Turn Down
Turn In
Turn Off
Turn On
Use Up
Wait On
- The following words are supposed to be capitalized, though mistakenly are not always:
(Also, Be, If, Than, That, Thus, When)
So...
Anyone brave enough to tackle this one? As I said, there was one in the regular expression thread that was pretty close, but it didn't adhere to these rules. This is supposed to be the standard, so if anyone can make this work, it will be grammatically correct.