Thread: Regex examples
View Single Post
Old 06-02-2013, 06:06 PM   #221
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,600
Karma: 79436940
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Why not try
Code:
([a-z])\.([A-Z])
replace by
Code:
\1\. \2
This will find a lower-case letter, followed by a period and an upper-case letter, and replace them by the lower-case letter, period, a space and the upper-case letter.
PeterT is offline   Reply With Quote