note 86170 rejected from function.ereg by thiago
| Newsgroups | php.notes |
|---|---|
| Message-ID | <[email protected]> |
Note Submitter: Anonymous
----
I`m very sorry for the stupid question but what is the meaning of ^ at the beginning and $ at the end of the string:
if (ereg("^[a-zA-Z0-9\-\.]+\.(com|org|net|mil|edu)$",