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