On Wednesday, October 17, 2001, 19:23:26 (19:23:26 at my hometown),
Brano wrote the following:

> [...] So I did a small REGEXP (with help from Silviu Cojocaru
> <[EMAIL PROTECTED]> -thanks) and it looks like this:

> %SETPATTREGEXP='^From:\s*\"(.*)\s\-\s*.*'%-
> %REGEXPMATCH="%HEADERS"%-

> [...] So now you see the MAIN PROBLEM - how to achive that the name
> will be written correct ? I want get this: on Wednesday, October 17,
> 2001 at 17:47 (+0200) typed Jaromír Pešout [JPP]:

Why don't you use the %OFROMNAME macro within your RegExp. Then you
should get the encoded name by using:

%SETPATTREGEXP='(.*)\s*\-\s*.*'%-
%REGEXPMATCH="%OFROMNAME"%-


-- 
Matthias

I have learned to spell hors d'oeuvres.

[ The Bat! v1.54/10 | Windows NT v5.0 Service Pack 2 ]


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

Reply via email to