Claus,

Since the MATCH operator handles alphas OR numerics and not both, this is
the closest I can get using a pattern match:

GoodEmail = ( Convert("_.1234567890","XXXXXXXXXXXX",Email) Matches
"1A0A'@'1A0A")

Brian

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Claus Derlien
Sent: 03 May 2005 09:09
To: [email protected]
Subject: [U2] Validating an email adress 

Hi folks,

I'm completely new to the use of pattern matching in UniVerse, and i need a
neat way to validate an email adress, so i can return an error if it
contains any illegal chars, i guess legal chars is a-z,A-Z,0-9,.-_@

does anyone have nice way to do this ??

best regards from sunny denmark

Claus Derlien
edb-afdelingen
direkte : 63 13 86 69
email   : [EMAIL PROTECTED]

Frie Funktionfrer - faglig organisation og tvfrfaglig a-kasse - www.f-f.dk

****************************************************************************
***********************************************************
Denne email og alle filer vedlagt som bilag kan indeholde fortroligt
materiale, der kun er beregnet for adressaten, og maa ikke udleveres eller
kopieres til uvedkommende. Har De ved en fejltagelse modtaget denne email,
bedes De venligst omgaaende meddele os dette pr. telefon : 6313 8550. Paa
forhaand tak.
****************************************************************************
***********************************************************
This email and any files transmitted with it may contain confidential
information intended for the addressee(s) only.
The information is not to be surrendered or copied to unauthorised persons.
If you have received this communication in error, please notify us
immediately by telephone: +45 6313 8550. Thank you.
****************************************************************************
***********************************************************
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to