Dear Michael,

@9-Jul-2004, 08:49 -0700 (09-Jul 16:49 UK time) Michael L. Wilson
said to The:

... <snip>
> Any ideas or better ways to clean the subject line would be
> appreciated.

Here's what I use:

,------/ New version of subject cleaner \------
%_______%REM="clean subject - by daniel hahler"%________%-
%_oldSubj=%OSubj%-
%Subject="%-
%SetPattRegExp='(?ix)\A:?
( [([]+ .*? [)\]]+ )*\s* # save topic/listname
(?:
  (?:
   (?:aw|antw|antwort|betrifft|fw|fwd|forw|
    forward|ha|rcpt|re\^?\d*|sv|vs|wg|wtr)(?:\[\d*\])?:
  )
  |\s+
)*
(.*?)  # the subject
\s*
( 
 ([(\[]+
  ( (wa[rs][:; ] | pgp | s/mime ).*
   | fwd
  )
  [)\]]*\s*
 )*
)\z'%-
%RegExpBlindMatch='%OSubj'%-
%IF:#%SubPatt='1'#<>##:#%SubPatt='1' #%-
Re: %SubPatt='2'"
%___________________________________
`------\ End /------

-- 
Cheers -- //.arck D Pearlstone --List moderator and fellow end user
TB! v2.12 Beta/8 on Windows XP 5.1.2600 Service Pack 1
'

Attachment: pgpkX67xL9yTX.pgp
Description: PGP signature

________________________________________________
Current version is 2.11.02 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to