I've following regular expression: ([A-Za-z0-9.-])\@([a-zA-Z0-9-]{1,63})(.([A-Za-z]{2,6})) and validate [email protected] and test@gamil as well. While it must validate [email protected] and the email with the sub-domain.
Any help is there to make me correct.