Quote:
Originally Posted by Doitsu
I'm sure that there's a more elegant solution, but the following simple regex should work:
Find: ([[:upper:]]{1,})([[:lower:]]+)
Replace: \1<small>\U\2\E</small>
Since this simple regex will find title case strings everywhere, you can't use it with Replace All, though.
To replace two consecutive title case words use the following regex:
Find: ([[:upper:]]{1,})([[:lower:]]+) ([[:upper:]]{1,})([[:lower:]]+)
Replace: \1<small>\U\2\E</small> \3<small>\U\4\E</small>
|
Thank you sir. I will give it a try.