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

  On Wed, 25 Oct 2000 16:50:47 -0400, Jan Rifkinson wrote:

A.>> Does  the  string within the brackets remain constant as
A.>> "R1200c"  or does it vary? If so, do you always want the
A.>> bracket and its contents deleted from the subject.

JR>           Let's  say  that  it varies. And, yes, the idea is
JR>           that the brackets & everything within the brackets
JR>           gets  deleted  from  the  subject.  You can see an
JR>           example  of  this  if  you  belong to any group on
JR>           eGroups.

OK, I tried this regex on the PGPBasics list subjects and also the
bidgeneral lists. Both have [PGPBasics] and [bidgeneral] in all
messages. It works. This regex will also remove the extra Re:'s and
Fwd:'s that may build up in subjects.

<all one line>
%subject="Re:%setpattregexp=""(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd)(\[\d*\])?:\s*)*(.*)""%RegExpBlindMatch=""%OSubj""%SubPatt=""5"""
<all one line>

Place the regex in a quick template and give it a handle name like
'subj'. In the reply template, place at the end %Qinclude="subj". Enjoy!

- --
A. Curtis Martin..
Moderator TBUDL/TBBETA  |  PGP Key ID: 0xEE079937
PGP Key: mailto:[EMAIL PROTECTED]?Subject=SendAlliePGPKey
- ---
** "Hm..what's this red button fo:=/07<NO CARRIER "
_____________________________________________________________
TB! v1.47 Halloween Edition (S/N CCA4F9B8) �� Win2k Pro SP1

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Digitally signed for sender verification.

iQA/AwUBOfd0ifAXeSHuB5k3EQLUFwCdGIojGOLkcGIgbFRGhzlwBzftfLAAn2b9
Coo31AZHTBB3aUybTmnCY/3O
=l00G
-----END PGP SIGNATURE-----

-- 
--------------------------------------------------------------
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