remove only one special character from string javascript w3schools code example
Example 1: remove first 3 characters from string javascript
var string = "abcd";
console.log(string.substring(3)); //"d"
Example 2: remove substring from string javascript
var ret = "data-123".replace('data-','');