I think I asked this in the wrong group - let me try here.

I'd like to filter on a subject line. The basic structure is:

Startword.... stuff in the middle.... Endword

This structure is sometimes prefixed with another word or
two as:

[pre1.. pren] Startword.... stuff in the middle.... Endword

The 'optional' 1-3 pre words in the beginning are always surrounded by
square brackets [ ], if they are there.

What I'd like to do is ignore the brackets, and any words in the
brackets, and still be able to filter on Startword and Endword.

I want to filter ONLY if Startword is the FIRST word and Endword is
the LAST word of the 'basic structure'. If they are in any other
positions, or if one is missing, the message is not filtered. The
positions are important.

It is actually a bit more complex - Startword and Endword can each be
any ONE of about 3-4 words.

Any help or ideas for a Regex would be much appreciated.

ztrader

-- 
______________________________________________________
Archives   : <http://tbtech.thebat.dutaint.com>
Moderators : <mailto:[EMAIL PROTECTED]>
Unsubscribe: <mailto:[EMAIL PROTECTED]>

You are subscribed as : [email protected]


Reply via email to