var a='a/1/4/6/6';var b=a..replace(/\//g,',');//b=a,1,4,6,6var a='a/1/4/6/6';var c=a.split("/").join("-")c=a-1-4-6-6