/ Published in: Other

Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public static function checkEmail(email:String):Boolean { var regExEmail:RegExp = new RegExp(/[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?.)+(?:[A-Z]{2}|com|org|net|gov|mil|biz|info|name|aero|biz|info|mobi|jobs|museum)b/i); return regExEmail.test(email); }
Comments
