On 3 May 2005, at 19:18, Matthew Weier O'Phinney wrote:
* Jm [EMAIL PROTECTED]:
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
I use the following regex:
preg_match('/[EMAIL PROTECTED]@([-a-z0-9]+\.)+[a-z]{2,}$/i',
* Jm [EMAIL PROTECTED]:
Does anyone have a nice email address syntax checking script they'd
like to share? Regular expression-based anyone? TIA.
I use the following regex:
preg_match('/[EMAIL PROTECTED]@([-a-z0-9]+\.)+[a-z]{2,}$/i', $email)
I believe I got it out of the PHP Cookbook, by
2 matches
Mail list logo