replace all numbers in a string javascript code example
Example: js replace all number
var str = "22V2isit W33Scho4ols!";
var n = str.replace(new RegExp("[0-9]", "g"), "");
var str = "22V2isit W33Scho4ols!";
var n = str.replace(new RegExp("[0-9]", "g"), "");