Filter for selecting lines beginning/ending with characters
Posted: Wed Nov 30, 2005 4:12 pm
How do we select (extract) lines beginning with (or, ending with) a specific character (letter, digit, symbol, etc.) or sequence of characters, for example:
+ select lines beginning/ending with the letter 'a'
+ select lines beginning/ending with 'abc'
+ select lines beginning/ending with '$*3abc'
+ select lines beginning/ending with the letter 'a'
+ select lines beginning/ending with 'abc'
+ select lines beginning/ending with '$*3abc'