View Single Post
Old 04-17-2016, 03:15 PM   #2
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)
Replace with
Code:
\1
This will use the captured group which matched EITHER "Biology Today" OR "Chemistry Today" as the replacement text.


P.S. This is standard regular expressions syntax, so if you haven't already then I would advise you to take this regex tutorial: http://www.regular-expressions.info/
It is my favorite tutorial -- it taught me everything I know.

Make sure to cover ALL the sections!

Last edited by eschwartz; 04-17-2016 at 03:21 PM.
eschwartz is offline   Reply With Quote