Difference between revisions of "Useful set of regular expressions"
From Notes_Wiki
(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 ...") |
m |
||
Line 1: | Line 1: | ||
[[Main_Page|Home]] > [[Regular expressions]] > [[Useful set of regular expressions]] | |||
==Search in un-commented lines== | ==Search in un-commented lines== |
Latest revision as of 13:48, 7 April 2022
Home > Regular expressions > 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\..*$