note 13541 added to function.ereg.php
| From: | peter dot hakansson at hooya dot com | Date: | Thu, 21 Jun 2001 08:21:56 +0000 |
| Subject: | note 13541 added to function.ereg.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14511@lists.php.net to get a copy of this message | ||
Hi! I have a small problem with my ereg function. I need a function to check a email field in one of
my forms.
The function should only accept upper & lowecase letter's, digits and . _ -
No other punctuation marks like ½ § ! " @ # £ ¤ $ % & / { ( [ ) ]= } + ? \ ´ ` ^ ~ ¨
* ' : ; ,
Could someone please help me with this and send the result to my email:
peter.hakansson@hooya.com
Thanks!
http://www.php.net/manual/en/function.ereg.php