Answer by user3377121 for Email address validation using corona sdk
Try this: local pattern = "[%w][%p][@][%w]+[.][%w.]+[^.]+"return value ~= nil and #value >= 1 and #value <= 63 and istring.is_ascii(value) and not not value:match(pattern) and...
View ArticleAnswer by user4758733 for Email address validation using corona sdk
Use regular expression pattern for checking email.Use this "[A-Za-z0-9%.%%%+%-]+@[A-Za-z0-9%.%%%+%-]+%.%w%w%w?%w?"
View ArticleAnswer by Pontus for Email address validation using corona sdk
Try this regular expression:local email = "email@email.com"if (email:match("[A-Za-z0-9%.%%%+%-]+@[A-Za-z0-9%.%%%+%-]+%.%w%w%w?%w?")) then print("VALID EMAIL")else print("INVALID EMAIL") end
View ArticleEmail address validation using corona sdk
In my project, a form for the user to fill the details. In that, one text field to enter email id of the user. So i need to validate the email in that text field, in corona project
View Article