Your Ad Here

Posted By

BenJD on 02/28/11


Tagged

email


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

scottwatkins
doctorstones


Valid Email


 / Published in: ActionScript 3
 

  1. private function isValidEmail(email:String):Boolean
  2. {
  3. var emailExpression:RegExp = /^[a-z][\w.-]+@\w[\w.-]+\.[\w.-]*[a-z][a-z]$/i;
  4. return emailExpression.test(email);
  5. }

Report this snippet  

You need to login to post a comment.