$email = "[EMAIL PROTECTED]";
if(eregi("^[_\.0-9a-z-]+@([0-9a-z][0-9a-z-]+\.)+[a-z]{2,3}$", $email)) print "Valid";

It should work.


Javier Tacón Iglesias.


-----Mensaje original-----
De: Jami Moore [mailto:[EMAIL PROTECTED]
Enviado el: lunes, 08 de septiembre de 2003 17:02
Para: [EMAIL PROTECTED]
Asunto: RE: [PHP] Validating Subdomain E-mail Addresses Using Regular
Expressions
Importancia: Baja


Jason,

I have already done so and not found an answer, which is why I am asking
the group now. Do you have a suggestion or have you found a link that
may help? That would be ten times more useful than, "Search the archives
or ask google."


Jami Moore
LightSpark Digital Designs
[EMAIL PROTECTED]
http://www.lightsparkdigital.com/


-----Original Message-----
From: Jason Wong [mailto:[EMAIL PROTECTED] 


Search the archives or ask google.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to