in reply to remove lines that do not match search pattern
Capture lines that 'do not' ( !~ ) match your regex...
or
capture lines that are not excluded by unless =~ your regex
Or did you mean you want another way to write the regex (which should be enclosed by code tags for readability).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: remove lines that do not match search pattern
by jasonwolf (Sexton) on Aug 03, 2015 at 14:27 UTC |