Peter Fjelsten [PF], on Friday, November 22, 2002 at 02:28 (+0100)
thoughtfully wrote the following in
[EMAIL PROTECTED]">mid:[EMAIL PROTECTED] :
PF> Could any of you RegEx-savvy users help me with a template to kill
PF> (delete) everything under...
PF> "-----Original Message-----" and "-----Original Besked-----" (no "s)
PF> ...when replying. I am tired of manually deleting the bad quoting by
PF> Lookout or Lookout Express users.
I have some QT, you can change it, of course.
it removes TOP, and also BOTTOM of message, try it, maybe you will
like it:
QT: remove top
%SETPATTREGEXP="(?is-m)^((([^\n]*)\n){0,2}?\s*\n)?(.*)$"%-
%REGEXPBLINDMATCH="%QINCLUDE='remove bottom'"%-
%SUBPATT="4"
QT: remove bottom
%QUOTES='%SETPATTREGEXP="(.*)\n\n---|(.*)---\n|(.*)\n________|(.*)\n-- -|(.*)\n-
--|(.*)\n---|(.*)-- \n|(.*)"%-
%REGEXPBLINDMATCH="%text"%-
%SUBPATT="1"%SUBPATT="2"%SUBPATT="3"%SUBPATT="4"%SUBPATT="5"%SUBPATT="6"%SUBPATT="7"%SUBPATT="8"'%-
And in reply QT use:
%QINCLUDE="remove top"
You can change delimiters in QT "remove bottom"
--
...m8s, cu l8r, Brano.
[You couldn't put off the inevitable.]
________________________________________________________
Current version is 1.61 | "Using TBTECH" information:
http://www.silverstones.com/thebat/TBUDLInfo.html