Page 1 of 1

Multiples "retain lines"

Posted: Tue Aug 19, 2003 6:20 pm
by Henri
Hello,

I have a small problem and I feel stupid, but I do not know how to do using the "retain lines" (but can be also applicable to "extract matches" or "matching lines") in order to retain different lines.

When the "retain lines" is used for example to retain a line containing the word "special", if I add another "retain lines" to retain the word "test", this second retain do not find something because it act on the text resulting from the first filter. But I want to retain these two different lines from the original text.

Thanks in advance and regards
Henri

Re: Multiples "retain lines"

Posted: Wed Aug 20, 2003 11:08 am
by DataMystic Support
Hi Henri,

Combine each word you want to retain with an OR |

e.g.

special|test


Henri wrote:Hello,

I have a small problem and I feel stupid, but I do not know how to do using the "retain lines" (but can be also applicable to "extract matches" or "matching lines") in order to retain different lines.

When the "retain lines" is used for example to retain a line containing the word "special", if I add another "retain lines" to retain the word "test", this second retain do not find something because it act on the text resulting from the first filter. But I want to retain these two different lines from the original text.

Thanks in advance and regards
Henri

Posted: Wed Aug 20, 2003 3:32 pm
by Henri
Hello Simon,

I know it was certainly so simple. :oops:

Thanks for all the support you provide.

Regards
Henri