Re: RES: [PHP] email address syntax checker

2011-01-21 Thread Richard Quadling
n they will require being inside quotation marks), and > the @ symbol is included in that! > > Thanks, > Ash > http://www.ashleysheridan.co.uk > > - Reply message - > From: "Alejandro Michelin Salomon" > Date: Fri, Jan 21, 2011 12:14 > Subject: RES:

Re: RES: [PHP] email address syntax checker

2011-01-21 Thread a...@ashleysheridan.co.uk
ed in that! Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: "Alejandro Michelin Salomon" Date: Fri, Jan 21, 2011 12:14 Subject: RES: [PHP] email address syntax checker To: "'Donovan Brooke'" Cc: Donovan: Try this function EmailC

RES: [PHP] email address syntax checker

2011-01-21 Thread Alejandro Michelin Salomon
Donovan: Try this function EmailCheck ( $sEmail ) { $regexp="/^[a-z0-9]+([_\\.-][a-z0-9]+)*@([a-z0-9]+([\.-][a-z0-9]+)*)+\\.[a-z ]{2,}$/i"; if ( !preg_match($regexp, $sEmail) ) return false; return true; } Alejandro M.S. -Mensagem original- De: Donovan Brooke [ma