Added regex for email validation.