function isEmail($email){ return (bool)preg_match('/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{3})+$/',$email); }