Re: Ereg ()
| From: | Jas | Date: | Tue, 16 Apr 2002 13:43:18 +0000 |
| Subject: | Re: Ereg () | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-93182@lists.php.net to get a copy of this message | ||
If you look on php.net and run a search on ereg() you will find examples on
how to use regex. Your string would look like this:
ereg('[a-z][A-Z][0-9]{7}')
With your special characters I am not sure how that would work but check out
php.net.
hth
Jas