Revision: 38509
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 4, 2011 11:51 by Activetuts
Initial Code
public function checkEmailAddress(emailAddress:String):Boolean { var address:String = "([a-z0-9._-]+)"; var domainName:String = "([a-z0-9.-]+)"; var domainExt:String = "([a-z]{2,6})"; var email:RegExp = new RegExp("^" + address + "@" + domainName + "\\." + domainExt + "$", "i"); return email.test(emailAddress); }
Initial URL
http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/
Initial Description
From the tutorial, Validating Various Input Data in Flash (http://active.tutsplus.com/tutorials/actionscript/validating-various-input-data-in-flash/)
Initial Title
Validate Email Address with RegExp
Initial Tags
email, regexp, validation
Initial Language
ActionScript 3