📌  相关文章
📜  正则表达式检查字符串是否包含特殊字符 javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:52.185000             🧑  作者: Mango

代码示例2
var email = "grepper@gmail.com";
if(email.includes("@")){
  console.log("Email is valid");
}
else{
  console.log("Email is not valid");
}
// includes return boolean, if your string found => true else => false