Thursday, April 26, 2001, 1:09:13 AM, ANT-ilic wrote:

> I want to remove "[MkForum] " from %Osubj, which is "[MkForum] Some
> text here"

> I tried something like this:
> %SUBJ='%SETPATTREGEXP="(\[MkForum\]\s)(.*)"%REGEXPBLINDMATCH=%text%SUBPATT="2"'
>                        ^^^^^^^^^^^^^^^
> I thought this will be SUBPATT="1" and I don't need it... But...

> All I get is
> <copy/paste>
> [MkForum] Some text here='SUBPATT="2"'
> </copy/paste>

Well, you're not as lazy as I am...

When I needed to do just that (remove "[MkForum] "),I went to
<http://www.silverstones.com/thebat/macros.html> and
found this:
[ONE LINE]
%subject="Re:%setpattregexp=""(?i)\A\:?(\s*\[.*\])?(\s*(re|ha|rcpt|fwd|fw)
(\[\d*\])?:\s*)*(.*)""%RegExpBlindMatch=""%OSubj""%SubPatt=""5"""
[ONE LINE]

It works for me.
Even if you don't want to use just that, at least it can work as an
example.

-- 
 Urban                            



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

You are subscribed as : [email protected]


Reply via email to