On Sat 7-Jun-03 8:06am-0400, Marta Rogalińska wrote:
> Friday, June 6, 2003, 11:30:12 PM, Zygmunt Wereszczynski wrote:
Z>> %SETHEADER("Subject","Re:
Z>> %SetPattRegExp='(?i)\A\:?(\s*(re|aw|ha|rcpt|fw|fwd|forw|odp|pd)%-
Z>> (\[\d{1,3}\])?:\s*|\[.*?\])*\s*(.*?)\Z'%-
Z>> %RegExpBlindMatch='%OSubject'%SubPatt='4'")%-
Z>> It works good with Beta 8 and Beta 9.
> Here, it _does_ keep the Re: in the subject line but in the instance where
> the subject contains words in square brackets (for example Re: [something]
> sth) it cuts out the bracketed phrase :(
Check out the one I posted to this tread. To stop removing all [...]
before the stripped subject, just delete these two lines:
\[.*?\] # Dump [list-name]
|
If, instead, you want to only delete `[foo]` and `[bar]` from the
`foo` and `bar` mailing lists, just replace the `\[.*?\] line with:
\[foo\] | \[bar\]
--
Best regards,
Bill
________________________________________________________
Current beta is 1.63b9 | "Using TBBETA" information:
http://www.silverstones.com/thebat/TBUDLInfo.html