Regular Expressions
| From: | Devin Atencio | Date: | Tue, 23 Apr 2002 22:07:51 +0000 |
| Subject: | Regular Expressions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-94276@lists.php.net to get a copy of this message | ||
I need to check a variable to see if the format fits one
of the following:
username@domain.com
or
*@domain.com
or
*@*.domain.com
How can I do this with regex? Any help would be greatly
appreciated.
Devin Atencio