-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello solid_snake !


On Fri, 2 Feb 2001 12:18:08 +0700 GMT your local time,
which was 02.02.2001, 06:18 (GMT+0100) where I live, you wrote:

[...]

> How, I can change the name of someone (source is %OFromName), to be 5
> ,6 or 7 long character. Like the example upthere..
> From Front/ not from Back the name is,

> Oh yeah, I almost forgot. It should be add chars "..." after 5,6,7
> characters then.


Try that one
<regex>
%SETPATTREGEXP="(?i)(^\w{1,5}).*?(@)(.*)"%REGEXPBLINDMATCH="%OFROMADDR"%Subpatt="1"...
</regex>

It might be optimized by the regex-experts; but it does work here. The number of
characters you want to have can be adjusted in the {1,5}-part. 5 is the
number of returned characters.

Perhaps someone with more experience has a look on it to find out where
this regex might crash; I'm still a novice in regex.

- --
Best regards,
 Gerd
======================================
Using The Bat! Version 1.49
PGP-Keys on request mailto:[EMAIL PROTECTED]?subject=send_key
- ----------------------------------------------------------------------------
Use your health, even to the point of wearing it out. That is what it is for.
Spend all you have before you die; and do not outlive yourself.
     George Bernard Shaw

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Digitally signed for authentication purposes ! Gerd Ewald

iQA/AwUBOnq2hUy/sHrVbGGHEQJDuwCgo+/gWzM7kkk5E2B2nCbqCjbjZ/EAoMFI
lu7OPH3RrLT+6krHsqDXvtBu
=2fwy
-----END PGP SIGNATURE-----



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

Reply via email to