Answers for "js replace all number"

0

js replace all number

var str = "22V2isit W33Scho4ols!"; 
var n = str.replace(new RegExp("[0-9]", "g"), "");
Posted by: Guest on October-21-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language