how to remove dash from string in javascript code example
Example: how to remove dash from string in javascript
var str="185-51-671";
var newStr = str.replace(/-/g, "");
var str="185-51-671";
var newStr = str.replace(/-/g, "");