note 46007 added to function.eregi
| From: | chris at redeeming dot us | Date: | Sun, 26 Sep 2004 13:50:33 +0000 |
| Subject: | note 46007 added to function.eregi | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-77368@lists.php.net to get a copy of this message | ||
I didn't like some of the limitations to the email format checkers.
I know people with email addresses of:
blah+dff@blah.com and it wouldn't allow this
It should also force it to start with an alpha numeric and end with the same.
This should all be on one line.
^[_a-z0-9-]+(\.[_a-z0-9-]+)*
@[a-z0-9-]+(\.[a-z0-9-]{1,})*\.([a-z]{2,}){1}$
Hope this helps someone.
----
Manual Page -- http://www.php.net/manual/en/function.eregi.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+46007
Delete -- http://master.php.net/manage/user-notes.php?action=delete+46007&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+46007&report=yes
Search -- http://master.php.net/manage/user-notes.php