var newStr = str.replace(/[’"\/\b\f\n\r\t]/g, ‘’);
js做数据的转义字符替换
最新推荐文章于 2023-09-27 16:29:58 发布
var newStr = str.replace(/[’"\/\b\f\n\r\t]/g, ‘’);