Thread: Regex examples
View Single Post
Old 06-02-2013, 06:37 PM   #223
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.
 
PeterT's Avatar
 
Posts: 12,145
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Try
Code:
([a-z])([\.\?\!])([A-Z])
and
\1\2 \3
* I MIGHT have escaped more than I need too... Probably [.?!] would work instead of [\.\?\!]

Last edited by PeterT; 06-02-2013 at 06:41 PM.
PeterT is offline   Reply With Quote