Thread: Regex examples
View Single Post
Old 07-29-2013, 11:04 AM   #272
mzmm
Groupie
mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.mzmm has not lost his or her sense of wonder.
 
mzmm's Avatar
 
Posts: 171
Karma: 86271
Join Date: Feb 2012
Device: iPad, Kindle Touch, Sony PRS-T1
here's another version using a look behind.

Code:
find:
(?<=[A-Z])([a-z]+)

replace:
<small>\U\1\E</small>

Last edited by mzmm; 07-29-2013 at 02:46 PM.
mzmm is offline   Reply With Quote