Js Chinese comma to English implementation



function changedouhao(str){
str=str.replace(/ . /ig,',');
return str;
}