Filter for selecting lines beginning/ending with characters

Get help with installation and running here.

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 » 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'

User avatar
DataMystic Support
Site Admin
Posts: 2222
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Post by DataMystic Support » Mon Dec 05, 2005 8:56 am

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$
Regards,

Simon Carter, https://www.DataMystic.com
https://www.JadeDiabetes.com - Insulin dose calculator for Type 1 diabetes
https://www.DownloadPipe.com - 250,000 free software downloads

Post Reply