DEV Community

Discussion on: Simple Email Validation in Javascript & CSS

Collapse
 
jonrandy profile image
Jon Randy 🎖️ • Edited

I was going to say that you don't really need JS at all for this, but @lukeshiru beat me to it.

I will point out though that the regex you are using rejects perfectly valid email addresses containing the + symbol. These are quite commonly used