if you compromise a little, then
1 with a single pass you can change everything to lower case then
2 with a 2nd pass you can easily capitalise the 1st letter of the 1st word
so you've gone from CHAPTER ONE to Chapter one
a 3rd ( harder to write) pass could then probably find & capitalise the 2nd word....
it comes down to how much time you want in invest in fancy coding compared with just manually retyping the offending titles
|