Filter for selecting lines beginning/ending with characters

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
gmb1994
Posts: 7
Joined: Wed Nov 30, 2005 7:19 am
Location: Dallas, Texas, USA

Filter for selecting lines beginning/ending with characters

Post by gmb1994 »

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'
User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support »

select lines beginning/ending with the letter 'a'

^a
/
a$

select lines beginning/ending with 'abc'

^abc
/
abc$

select lines beginning/ending with '$*3abc'

^\$\*3abc
/
\$\*3abc$
Post Reply