use indexOf(); to check for a character within a string. If the character isn’t present it’ll return -1, else it will return the characters position/index withing the string.
e.g:
if(EMail.indexOf("@") != -1 && EMail.indexOf(".") != -1) {
// Email is valid
}else {
// Email is not valid
}