View Single Post
Old 07-31-2015, 01:39 AM   #499
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)
Yes, there are commands to do that. Fundamentally, regex is a language for describing word and character patterns.




Try a few regexes, check that they did what you want before continuing, and gradually you will get a feel for them.
And you will find even the regex gurus strongly advocate double-checking all replacements.

It's not critical, but it's a nice skill to have.
I found the following site very helpful and easy to follow -- it taught me most of what I know about regex: http://www.regular-expressions.info

Last edited by eschwartz; 07-31-2015 at 01:42 AM.
eschwartz is offline   Reply With Quote