fix email check regex

space should not be allowed.