View Single Post
Old 10-12-2012, 02:43 PM   #9
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 15,244
Karma: 6020307
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
@DrC

you just need to write a better set of REGEX terms

Quote:
Example:
Original sentence : "This, THIS and this."
Search string : "this"
Replacement string: "these"
Replaced sentence: "these, these and these."
Expected sentence: "These, THESE, and these."
Here is a start:
Code:
(t|T)his
\1hese
will get the lower/mixed case correct
theducks is offline   Reply With Quote