What about using scriptdef. I've never used it, but maybe someone else on this list can advise how you can define a script using scriptdef to do this.
-----Original Message----- From: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] Sent: December 14, 2004 8:55 AM To: ant_user (E-Mail) Subject: yet another regex question Hi, is there a possibility to scan a txtfile with filterchain + regex for : pattern1 . . <-- i want to grab only the content between the two patterns . . pattern2 line1 line2 line3 (optional) ?? Problem = i may not use the tailfilter and skip=3, because the lines after pattern1 are variable in size. Gilbert --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]