function isEmail(email){ var emailReg=/^([a-z0-9A-Z]+[\-|_|\.]?)*[a-z0-9A-Z]+@([a-z0-9A-Z]+[\-|_|\.]?)*[a-z0-9A-Z]+.[a-zA-Z]{2,3}$/;return emailReg.test(email); }