Hello, I'm using the following template to clean subject line. It works well until a subject starts with a square bracket. For example, if a subject looks something like this '[Re: Hello]', the template does not work. I receive a lot of messages which start with square bracket in my work. Thanks in advance.
%SETHEADER("Subject","Re: %- %SetPattRegExp='(?i)\A\:?(\s*(vs|sv|re|I|R|aw|ha|rcpt|fw|fwd|forw|odp|pd|tr|wg|tr)%- (\[\d{1,3}\])?:\s*|\[.*?\])*\s*(.*?)\Z'%- %RegExpBlindMatch='%OSubject'%SubPatt='4'")%- -- Best regards, Assad Using The Bat! 8.8.2 under Windows 7 6.1 Build 7601 Service Pack 1 ________________________________________________________ Current beta is 8.7.0.14 | 'Using TBBETA' information: http://www.silverstones.com/thebat/TBUDLInfo.html