Hello Marck D. Pearlstone,
On Sat, 23 Sep 2000 21:20:53 +0100 GMT your local time,
which was Sunday, September 24, 2000, 3:20:53 AM (GMT+0700) my local time,
Marck D. Pearlstone wrote:


> Hi Rev.,

> On 23 September 2000 at 13:51:38 GMT -0500 (which was 19:51 where I
> live) Rev. Bob 'Bob' Crispen wrote and made these points on the subject
> of "Anybody have an ad-remover for messages from egroups.com lists?":

RBBC>> Now that egroups.com has moved the ad that appears on all their "free"
RBBC>> lists to the top of the message where it's even more annoying than it
RBBC>> was before, has anybody worked out a way to filter that junk out of
RBBC>> incoming text messages?

> No, but I have just adapted the PGP Signature stripper to do the job
> of filtering it out of reply quoting (what? ... is that cheering I
> hear around the members?). It works for me and strips both egroups
> headers and / or PGP signing blocks automatically.

> %quotes="%SETPATTREGEXP=""(?is)(^-+ eGroups.*~-~>.*-*_->$\s+){0,1}(^-----BEGIN PGP 
>SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(- --\s*\n|_{40,}\s*\n|-----BEGIN PGP
> SIGNATURE)|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""4"""

> Of course, this has to been viewed and used as a single long line of
> text. I keep this regex in a Quick Template called REQ and have
> %QINCLUDED="REQ" in any templates I want to use it in.

One from Alex, no idea which works better but also based on that pgp
stripper....

Give it to them;-)

<oneliner>
%Cursor%Quotes="%SetPattRegExp=""(?is)(.*^-----BEGIN PGP SIGN
ED.*?\n(Hash:.*?\n)?\s*|\A-----.*---------------.*?\n{1,})?(.*?)
(^(- --\s*\n|- ---\s*\n|--\s*\n|---\s*\n|_{40,}\s*\n|-----BEG
IN PGP SIGNATURE)|\z)""%RegExpBlindMatch=""%text""%SubPatt=""3"""
</oneliner>

If you like to match _only_ eGroups banners with this one, try substituting
"----------------------_->" (w/o quotes)
for
"--------------.*?" in above regexp, but I can give no warranty that eGroups
will not change their delimiter... Besides, the "general syntax" gegexp works
well against other "group banners" I have encountered so far. It will only fail
if the message contains a long enough sequence of dashes in the body of the
message or in the signature.

Credits: Peter Steiner, Marck D. Pearlstone. I have somewhat edited the last
anti-PGP-sig macro suggested by Marck because I wanted to target both goals with
one regexp: to both strip off PGP stuff and to cut away the group banners...

End of Quote


> Sadly there is no way of altering incoming message text without doing
> a filter which exports the message, calls an external process to
> perform the automatic stripping function and invoke the TB import
> function (the export filter can't do it because it won't know when the
> external process has completed).



Best regards,
 
tracer


-- 

Using theBAT 1.47 Beta/5 with Windows NT
mail to : [EMAIL PROTECTED]
I am using FireTalk: 321338
ICQ: on request 
Website: www.phuketcomputers.com
Our special website hosting/mailservers are now operational

-- 
--------------------------------------------------------------
View the TBUDL archive at http://tbudl.thebat.dutaint.com
To send a message to the list moderation team double click here:
   <mailto:[EMAIL PROTECTED]>
To Unsubscribe from TBUDL, double click here and send the message:
   <mailto:[EMAIL PROTECTED]>
--------------------------------------------------------------

You are subscribed as : [email protected]


Reply via email to