Thread: Regex examples
View Single Post
Old 01-02-2015, 03:24 PM   #448
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Code:
(?<=\p{L}|\.)\s?‘(d|m|s|t|ll|re|ve)(?=\p{P}|\s)
Just look for letters, no need to look for "uppercase_letters OR lowercase_letters"

Do you anticipate any of these happening after a full stop? Perhaps that should be fixed... I can hear there being an uppercase word, e.g. someone screaming.

Last edited by eschwartz; 01-02-2015 at 03:26 PM.
eschwartz is offline   Reply With Quote