Hi
I have a file where I deleted all lines that don't contain a certain pattern
For example I want to delete all lines that don't contain XXX and YYY.
Before:
[start of file]
abcde XXX fghij YYY
12345 AAA 67890 BBB
klmno XXX pqrst YYY
09876 XXX 54321 BBB
&*()- XXX ,./;' YYY
[end of file]
After:
[start of file]
abcde XXX fghij YYY
&*()- XXX ,./;' YYY
[end of file]
How do I do that?
Best Regards,
Eric
_________________________________________________________________
All-in-one security and maintenance for your PC. Get a free 90-day trial!
http://clk.atdmt.com/MSN/go/msnnkwlo0050000001msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail