rfc 2822 contains the entire syntax of what's alowed and whats not 
(http://www.faqs.org/rfcs/rfc822.html) allowed in an email.

Overkill, but interesting.  And there's a perl module (Email:Address) to do 
2822 validating as well, if you need be able to validate any possible allowed 
email.

However, mostly what the others have said on this will probably suffice.

John

On Tue, 3 May 2005, Claus Derlien wrote:

> 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
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to