JQUERY 特殊字符

//替换特殊字符

 $(this).val($(this).val().replace(/[~'!<>@#$%^&*()-+_=:]/g, ""));

原文地址:https://www.cnblogs.com/2260827114com/p/5121129.html