// Email may have consecutive "-", "_", "+", or "."
// Email domain must end with >= 2 letters and must have at least one subdomain
//
function normal_email_check(email) {
    if (/^\w+[\.\-\+\w]*@\w+(?:[\.-]?\w+)*(?:\.[a-zA-Z]{2,}?)+$/.test(email)){
	return (true)
    }

    return (false)
}

// Email can't have consecutive "-" or "."
// Email must end with >= 2 letters and must have at least one subdomain
//
function strict_email_check(email) {
    if (/^\w+(?:[\.-]?\w+)*@\w+(?:[\.-]?\w+)*(?:\.[a-zA-Z]{2,}?)+$/.test(email)){
	return (true)
    }

    return (false)
}
