This article introduces a JavaScript function to verify emails, which is quite reliable.
JavaScript validation function for email, the source code is as follows:
function checkEmail(text) { if( text.match(/qq/.com$/) ) { return -1; } if( ! text.match(/^/w+([._-]/w+)*@(/w+/.)+/w+$/) ) { return false; } return true;}This article introduces so much about JavaScript verification functions. I hope it will be helpful to you. Thank you!