Regex for emails

It is still not working, it accepts things like “google.com” which is not an email id