How do we implement 'and' in our filters?

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

How do we implement 'and' in our filters?

Postby gmb1994 » Wed Nov 30, 2005 8:17 am

I have seen plenty of ways to use 'or'; how do we implement 'and'?

For example, how do we:
+ select (extract) all lines containing a 'hyphen' and a 'comma'?
+ select (extract) all lines containing a 'hyphen' and the word "temp"?
+ select (extract) all lines containing only three (3) words followed by a comma at the end of the line?

Is there a way to indicate the specific order, for example: only lines in which a single hyphen is followed by a comma.

abc def-ghi jklmn, <= this one
opqr, stuv-
wx, yz, abc-def,
ghi, jkl-mno-pqr
stuv--wxyz,

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

Postby DataMystic Support » Thu Dec 01, 2005 5:51 pm

If the condition is AND, then you can either combine all of these conditions into the one pattern, or you can use a series of filters, each removing more lines than the last.
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 1 guest