Answers for "how to remove numbers of string javascript"

0

remove all numbers from string javascript

const string = "hello world 123";

// remove all digits from the string
const newString = string.replace(/\d/g, "") // "hello world "
Posted by: Guest on May-30-2021
1

javascripti remove int character from string

let str = 'Hello';
 
str = str.slice(1);
console.log(str);
Posted by: Guest on April-03-2021

Code answers related to "how to remove numbers of string javascript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language