Hello Syafril,

On Tuesday, November 13, 2001 at 12:30:20 PM you wrote (at least in part):

SH> I  just  want  my  greetings (reply Template) automatically put "Hello
SH> "Author Real Name" on top of body text, is it possible to do that ?

I think it should. I know pretty much about RegExp in general, I'll
try to put it in TB! syntax which is still really ... different *g*
... to me :-)

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

This is a quick-and-dirty-but-could-be-a-point-to-start-from RegExp
that came to my mind in 30 seconds of thinking. It should match for a
name or, if not present but only the e-mail-address, the whole
e-mail-address without '<' & '>'.

May the TB!-RegExp-Gurus kill me or correct me if I'm wrong :-)
-- 
Regards
Peter Palmreuther                            mailto:[EMAIL PROTECTED]
(The Bat! v1.54/10 on Windows NT 5.0 Build 2195 Service Pack 2)

Of all the things I lost, I miss my mind!


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

Reply via email to