Tutorial Strip Numbers from a String
by Unknown in javascript , Tutorial 0
var someString = "Hello 123 World!";
newString = someString.replace(/[0-9]/g, '');
// console.log(newString);
// "Hello World!";
by Unknown in javascript , Tutorial 0
var someString = "Hello 123 World!";
newString = someString.replace(/[0-9]/g, '');
// console.log(newString);
// "Hello World!";