Ereg ()
| From: | DrouetL at ldnegoce dot com | Date: | Tue, 16 Apr 2002 12:49:03 +0000 |
| Subject: | Ereg () | ||
| Groups: | php.general php.general | ||
| Request: | Send a blank email to php-general+get-93174@lists.php.net to get a copy of this message | ||
Hi,
I'm new with RegEx and I would like to use them to validate my forms
entries submitted to the server.
My question is how can I verify with the regex that a string is
- at least 7 chars
- contains Chars and Nums
- may contains some special chars (ex : % ! : ; , )but not in first or last
position .
Regards
Laurent Drouet