Hello Syafril,

On Tuesday, November 13, 2001 at 4:07:37 PM you wrote (at least in part):

>> <-------------------------->
>> Hello %-
>> %SETPATTREGEXP="^From:\s*(.*?)\s*<.*?@.*?>|^From:\s*<(.*?@.*?)>"%-
>> %REGEXPBLINDMATCH="%Text"%-
>> %SUBPATT=1
>> <-------------------------->

SH> Ugh..  still  not  work,  the  result I only get "Hello" word only, no
SH> quote and others.
SH> Where am I wrong ?

I dunno where you're wrong :-) I can guess where I'm wrong :=)

Try this

<-------------------------->
Hello %-
%SETPATTREGEXP="From:\s*<(.*@.*)>|From:\s*(.+?)<.*@.*>"%-
%REGEXPBLINDMATCH="%Text"%-
%SUBPATT=1%SUBPATT=2%-
,

%QUOTES
<-------------------------->

One thing said before noticed by somebody else: the RegExp ain't very
fault tolerant right know and there's yet no solution for stripping
the 'From: ...' line from quoted material ... plus I don't know if it
works with Select+F4-Replying ...

Ciao Pit
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)

All things being equal, a fat person uses more soap than a thin person.


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

Reply via email to