Quote:
Originally Posted by cybmole
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
|
In that case, I'd rather use the following expressions:
Find:
([[:upper:]])([[:upper:]]+\s*)
Replace:
\1\L\2\E
This will find an uppercase letter followed by one or more uppercase letters and zero or more white-space character anywhere in the text and can be used to convert several uppercase words in a row.