Hallo Didier,

On Sun, 26 Jun 2005 11:16:52 +0200GMT (26-6-2005, 11:16 +0200, where I
live), you wrote:

D> I use to receive email containing the same sentence "Waiting for agreement"
D> I want by replying keeping the same text as in original message text BUT
D> replacing  "Waiting for agreement" for "Pending"

Try this:

%SetPattRegExp='(?is)(.*?)Waiting for agreement(.*)'%-
%RegExpBlindMatch='%Text'%-
%SubPatt='1'%-
Pending
%SubPatt='2'%-

Unless you're giving more info about the message, this is as precise
as I can get.

-- 
Groetjes, Roelof

When you're a little rabbit,  carry a big gun.

The Bat! 3.5.0.31
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM
________________________________________________________

http://www.silverstones.com/thebat/TBUDLInfo.html

Reply via email to