Hi
I have one regular expression to validate email but it fail on this email format:
aaaa@aaa.aa.aaa.aa
i need a regular expression that can be used for any kinf of email format . may i have these formats:
aaa@aaa.aaa
or
aaa@aaa.aaa.aa
or the one that fail to me:
aaaa@aaa.aa.aaa.aa
below is the regular expression i am using
define("REGEX_EMAIL","([0-9,a-z,A-Z]+)(.,,-)@(.,,-).{2,3}([0-9,a-z,A-Z])?$");
thank“s in advance