Posted By

tuffstudio on 01/19/11


Tagged


Versions (?)

Who likes this?

5 people have marked this snippet as a favorite

kure69
j4yc33
dubogii
merritt212
dstrystudio


Email Validation


 / Published in: ActionScript 3
 

  1. function isValidEmail(email:String):Boolean
  2. {
  3. var emailExpression:RegExp = /([a-z0-9._-]+?)@([a-z0-9.-]+)\.([a-z]{2,4})/i;
  4. return emailExpression.test(email);
  5. }

Report this snippet  

You need to login to post a comment.