-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Greetings andrew

On 07 June 2001 at 23:22:01 +0100 (which was 23:22 where I live) andrew
wrote

> While there I found that really useful script for stripping pgp sigs and
> yahoo sigs from your mails.

I use something like that as well.

> I'm sorry but I've reached my programming limit (actually that probably
> happened as soon as i sat down).

I feel that frequently.

> The script works perfectly I just used it to reply to your mail and it's
> automatically stripped out your sig, pgp and list details which is sooo
> helpful (not that your sig isn't wonderful, you understand).

It helps to keep to the list rules. (and it is a good sig ^_^)

> But I subscribe to Yahoo! groups and wanted to get rid of their little
> blurb - i thought this script could do this?

< ... >

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

I am not much of a regex expert but you need it to look for something
unique on the first line and then put that into the regex. The regex that I
use is below with a bit added to match [To unsubscribe from this group]

<one line>
%Quotes="%SETPATTREGEXP=""(?is)(.*?)(^(-*?\s*?--\s*\n|-----BEGIN PGP 
SIGNATURE|-----Original Message|> -----Original)|To unsubscribe from this 
group|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""1"""
</one line>

My regex matches from the beginning of the text not from
[-----BEGIN PGP SIGNED]

There is also something called [CUT] that can strip out things like this
from the incomming message but I feel that this can be dangerous.

- From memory you have to set up a filter to export these messages then call
the exe it then cuts out the bits you don't want and you have to import the
messages. (I could easily be wrong)

Someone on one of TB list made this one.

- --
 BBFN,                     _______________________________________________
  David                   |MUA- The 1, The Only, The Bat! | E-mailaholics |
 _________________________|  Win 2K Adv Ser 5.0.2195 SP2  | International |
| He who dies with the most TAGLINES dies!                                |

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8ckt (Build 05)
Comment: PGP Signed, sealed, delivered.

iQA/AwUBOyB1z/mK8eZlD0U0EQKgrgCgslDLxK++x3CQ/D1I0PzK0x/YwqwAnisH
OI7Gihvs1YM/E2xBUwSAelVR
=ohKW
-----END PGP SIGNATURE-----

-- 
______________________________________________________
Archives   : <http://tbudl.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
TBTech List: <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : archive@jab.org


Reply via email to