note 13768 deleted from function.ereg.php by zak
| From: | zak@php.net | Date: | Mon, 02 Jul 2001 17:39:22 +0000 |
| Subject: | note 13768 deleted from function.ereg.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14910@lists.php.net to get a copy of this message | ||
Here's a easier more wide-spread way to confirm an email address. Just copy and paste:
"^[^@ ]+@[^@ ]+.[^@ .]+$"
Here's another that confirms a valid hex color value (good for user customizable sites):
"^([0-9A-F]){6}$"