Useful set of regular expressions

From Notes_Wiki
Revision as of 06:59, 18 July 2013 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>Regular_expressions|Regular expressions</yambe:breadcrumb> =Useful set of regular expressions= ==Search in un-commented lines== To search for a pattern in ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>Regular_expressions|Regular expressions</yambe:breadcrumb>

Useful set of regular expressions

Search in un-commented lines

To search for a pattern in uncommented lines one can use expression of the form

^[^\#] ... $

For example to search for 10. in uncommented lines one can use:

^[^\#].*10\..*$