3 marca 2002, Malte Schomers:
Hello everybody :)
> Hi!
> Is it possible to delete lines starting with "mfg" in a quote??
Add these 3 quick templates:
---------- del_mfg -----------
%COMMENT="%TEXT
"%-
%QINCLUDE="del_mfg_r"%-
%QINCLUDE="del_newlines"%-
%QUOTES="%COMMENT"%-
%COMMENT=""%-
--------- del_mfg_r ----------
%IF:_%SETPATTREGEXP="(?ism)(^mfg.*?$)"%-
%REGEXPMATCH="%COMMENT"_<>__%-
:~%COMMENT=_%SETPATTREGEXP="(?ism)(.*)(^mfg.*?$)(.*)"%-
%REGEXPBLINDMATCH="%COMMENT"%-
%SUBPATT="1"%SUBPATT="3"_%QINCLUDE="del_mfg_r"~%-
:""%-
-------- del_newlines --------
%IF:_%SETPATTREGEXP="(?ism)\n{3,}"%-
%REGEXPMATCH="%COMMENT"_<>__%-
:~%COMMENT=_%SETPATTREGEXP="(?ism)^(.*)(\n{3,})(.*)$"%-
%REGEXPBLINDMATCH="%COMMENT"%-
%SUBPATT="1"
%SUBPATT="3"_%QINCLUDE="del_newlines"~%-
:""%-
... and then replace %QUOTES by %QINCLUDE="del_mfg" in Your reply
template.
Hope that's what You were looking for :)
PS. As it looks through the message recurently it's worth testing it
with some long e-mails ... (possible problems?)
> Malte
Dominik
--
<Dominik Flejter / [EMAIL PROTECTED] / WWW [## ] 20% done>
"It was wonderful to find America, but it would have been more
wonderful to miss it." Mark Twain
--
Okresl Swoje potrzeby - my znajdziemy oferte za Ciebie!
[ http://oferty.onet.pl ]
--
______________________________________________________
Archives : http://tbtech.thebat.dutaint.com
Moderators : mailto:[EMAIL PROTECTED]
Unsubscribe: mailto:[EMAIL PROTECTED]