现在只替换中文逗号,代码如下this.value.replace((/,)/ig,',');
我应该怎么弄呢?
this.value.replace(/[^\w\d\s]+/ig,','); 主要这一部分[^\w\d\s]+ 基本代表所以的符号了