On Monday, November 5, 2012, 2:19:18, Rick wrote:

> I am in some Yahoo groups. Each group ads an identifier in the
> subject, [bracketed text that can vary]
> I would like to parse out the brackets and text. Is there any way to do that?
> Thanks in advance

You can't alter the display of these subjects, but it's possible to
remove the text when replying or forwarding by using macros.

This should do it:

%SETPATTREGEXP=/^(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(\[[^\]]*\]\s)|(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)?)%-
\s*(?:(?:[^:]{0,4}(?:[\[\(]\d+[\]\)])?:)?\s*(?:\[[^\]]*\]\s*)?)*%-
(.*?)%-
([\(\[].+[\)\]])?$/%-
%RegExpBlindMatch="%OSubj"%-
%Subject='Re: %SUBPATT="2"'%-

-- 
< Jernej Simončič ><><><><>< http://eternallybored.org/ >

An ounce of image is worth a pound of performance.
       -- Peter's Placebo


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

Reply via email to