note 73803 added to function.eregi
| From: | c00lways at gmail dot com | Date: | Sun, 11 Mar 2007 02:10:54 +0000 |
| Subject: | note 73803 added to function.eregi | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124314@lists.php.net to get a copy of this message | ||
hodsfords:
i love your expression,
and i've came out with a solutions which does not need to set the number of times {1,3} for the
domain.
it can accept unlimited number of times, but @ least 1 time .com / .xxx
$exp = "^[a-z0-9]+[a-z0-9\?\.\+-_]*" .
@[a-z0-9_-]+(\.[a-z0-9_-]+)*\.[a-z]+$";
----
Server IP: 202.157.183.147
Probable Submitter: 219.95.130.180
----
Manual Page -- http://www.php.net/manual/en/function.eregi.php
Edit -- https://master.php.net/note/edit/73803
Del: integrated -- https://master.php.net/note/delete/73803/integrated
Del: useless -- https://master.php.net/note/delete/73803/useless
Del: bad code -- https://master.php.net/note/delete/73803/bad+code
Del: spam -- https://master.php.net/note/delete/73803/spam
Del: non-english -- https://master.php.net/note/delete/73803/non-english
Del: in docs -- https://master.php.net/note/delete/73803/in+docs
Del: other reasons-- https://master.php.net/note/delete/73803
Reject -- https://master.php.net/note/reject/73803
Search -- https://master.php.net/manage/user-notes.php