View Single Post
Old 10-12-2012, 01: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,896
Karma: 6611342
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Astak Pocket Pro, K4NT,Galaxy Tab 2
@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 online now   Reply With Quote