Januk Aggarwal [JA], on Wednesday, June 12, 2002 at 11:39 (-0700)
thinks about in [EMAIL PROTECTED]">mid:[EMAIL PROTECTED] :
JA> Try:
JA> (?i-s-m)^(.*\n){1,5}\n(.*)$
Tried, no success :( it works for you ?
try these messages:
msg1:
=========
hi
this is test
========
msg2:
========
hi
this is test
========
JA> But I remind you again, this regexp is not selective at all.
it is possible to make it selective ?
JA> It will
JA> indiscriminately delete the first "paragraph" of the message if
JA> finishes within the first 5 lines of the message.
yes, this is exactly what I want. If there is no "paragraph" in the
first 5 lines, it should pick whole message.
--
...m8s, cu l8r, Brano.
[Hey! Watch out for that bottle-- &#&$#@%&& NO PERRIER]
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]