How do we implement 'and' in our filters?
Posted: 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,
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,