Re: need help with RegExp - Solution Verified
Bill McCarthy <[email protected]> Tue, 12 Jul 2005 19:11:09 -0500
| Newsgroups | gmane.mail.the-bat.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tue 12-Jul-05 3:33pm -0500, alien wrote:
> Tuesday, July 12, 2005, 1:09:51 PM, Bill McCarthy wrote:
>> (?s)http://.*\.(?:scr|exe|etc)"
>> If that fails you, could you send one of those messages
>> as an attachment?
> Unfortunately it didn't work either
I received your two emails. That above regex worked on
both of them. My improved version worked on both of
them also:
"http://[^"]*\.(?:scr|exe)"
You apparently are doing something strange :-)
Here's a copy of my test filter:
$$$$ TB! Message Filter $$$$
beginFilter
Name: alien
Filter: {\0D\0A\20`6`2`\22http:/2F/2F[^\22]*/5C.(?:scr|exe)\22\0D\0A}
MoveMessage folder \5C\5CBill\5CInbox\5CTest
IsActive
Ignore
endFilter
--
Best regards,
Bill
Beta 3.51 Pro BayesIt! 0.8.1 X-Ray 1.4.0.0 XMP 0.9.6 XP Pro SP2 POP3