Re: email validation string.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 3:04 PM +0000 1/20/07, Roman Neuhauser wrote:
# tedd@xxxxxxxxxxxx / 2007-01-20 08:53:32 -0500:
 I picked this up in my travels.

 function validate_email($email)
 {

    // Create the syntactical validation regular expression
    $regexp =
 "^([_a-z0-9-]+)(\.[_a-z0-9-]+)*@([a-z0-9-]+)(\.[a-z0-9-]+)*(\.[a-z]{2,4})$";

One of my email addresses is
neuhauser+pgsql-general#postgresql.org@xxxxxxxxxxx


Thanks, I'll add that to my kill list.

tedd
--
-------
http://sperling.com  http://ancientstones.com  http://earthstones.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux