Re: Remove several appearinces of listname in subject
Jernej Simončič <[email protected]> Sun, 8 Oct 2006 09:45:28 +0200
| Newsgroups | gmane.mail.the-bat.devel |
|---|---|
| Message-ID | <[email protected]> |
On Sunday, October 8, 2006, 2:14:06, Britt Malka wrote:
> What's the right reg.expression to remove that, please?
I'm using this to clean the subjects:
%SETPATTREGEXP=/^(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(\[[^\]]*\]\s)|(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)?)%-
\s*(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)*%-
(.*?)%-
([\(\[].+[\)\]])?$/%-
%RegExpBlindMatch="%OSubj"%-
%Subject='Re: %SUBPATT="1"%SUBPATT="2"'
--
< Jernej SimonÄiÄ ><><><><>< http://deepthought.ena.si/ >
Laziness is the mother of nine inventions out of ten.
-- Saunders's Discovery