Filter for selecting lines beginning/ending with characters

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

Filter for selecting lines beginning/ending with characters

Postby 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: 2164
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia
Contact:

Postby 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, http://DataMystic.com/forums/index.php
http://PredictBGL.com - Insulin dose calculator for Type 1 diabetes
http://DownloadPipe.com - 250,000 free software downloads
http://DetachPipe.com - send huge email attachments


Return to “TextPipe Tips and Tricks, Questions and Support”

Who is online

Users browsing this forum: No registered users and 9 guests