Page 1 of 1

How do we implement 'and' in our filters?

Posted: Wed Nov 30, 2005 8:17 am
by gmb1994
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,

Posted: Thu Dec 01, 2005 5:51 pm
by DataMystic Support
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.