//去前后空格 data=data.replace(/(^s*)|(s*$)/g, "");
//js中文逗号换成英文逗号、替换中文逗号、js替换 phones=phones.replace(/,/ig, ",");