How to check is valid email use jquery | valid email check

=============== its html code =============

========= its jquery code =================

if (IsEmail(email) == false) {
toastrErrorMsg("Invalid mail");
return false;
}

//=========== its for valid mail check ===============
function IsEmail(email) {
var regex = /^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!regex.test(email)) {
return false;
} else {
return true;
}
}