Email address validation using corona sdk
snippet in lua

Email address validation using corona sdk

user5587

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