Regex code for email validation.