On Wednesday, October 11, 2006, 1:44:13 PM, Mica Mijatovic on TBUDL wrote:
> ***^\ ."_)~~
> ~( __ _"o Was another beautiful day, Wed, 11 Oct 2006,
> @ @ at 09:13:47 -0400, when David Calvarese wrote:
>> I have a bit of a problem I'm using the reply macro from the regex macro
>> collection that is supposed to remote all the Yahoo groups information
>> when I reply to a message, but it's leaving all that stuff in the
>> message. Can anyone help me with a better macro to clean out all the
>> ads, PGP signatures, ect. from messages I'm replying too?
> Try this one (those are just two longish lines)...
> %SETPATTREGEXP="(?m-s)Date\:\s*?((.*?[\d]{4})\s*?([\d]{0,2}\:[\d]{0,2}\:[\d]{0,2})\s*?(.*))"%REGEXPBLINDMATCH="%HEADERS"Was%SUBPATT="2",
> at %SUBPATT="3"%SUBPATT="4", when %TONAME wrote:
> %quotes="%SETPATTREGEXP=""(?is)(\n*-----BEGIN PGP
> %-SIGNED.*?\n(Hash:.*?\n)?\s*)?(.*?)(^(-*?\s*?--\s*\n|_{40,}\s*\n|%--
> -----BEGIN PGP
> SIGNATURE.*s?\n|-+\s+.*roups.*~--\>)|%-_{64,}\n.*MSN|\z)""%REGEXPBLINDMATCH=""%text""%SUBPATT=""3"""%-%REGEXPBLINDMATCH="%text"%SUBPATT="3"
That didn't seem to work either.
--
David
Cá fhad é ó an tús go deireadh? Turas mór
Using The Bat! v3.85.03 on Windows XP 5.1 Build 2600
Service Pack 2
________________________________________________
Current version is 3.85.03 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html