Posted By


zackattack27 on 07/22/11

Statistics


Viewed 612 times
Favorited by 0 user(s)

EmailValidation


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.