You can use the following regex: /[EMAIL PROTECTED]/
Ignatius _________________________ ----- Original Message ----- From: "MeAndI" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 17, 2003 2:51 PM Subject: [PHP-WIN] Check mail format > Hi, > > I just want to know how I can recognize that the e-mail address inserted by > the user is correct or not. > > E.g. > [EMAIL PROTECTED] -> correct e-mail address > [EMAIL PROTECTED] or user-server.com -> incorrect email addresses > > please help > Thanks > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php