用javascript正则表达式判断一个串是否存在特殊字符

if(/[&<>"']/im.test(value)){ return false; }else{ return true; }
相关文章
相关标签/搜索