How do we implement 'and' in our filters?

Get help with installation and running here.

Moderators: DataMystic Support, Moderators

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

How do we implement 'and' in our filters?

Post by 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

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

Post by 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.

Simon Carter, - Insulin dose calculator for Type 1 diabetes - 250,000 free software downloads

Post Reply