showing results for - "remove all numbers from string javascript"
Apolline
01 Sep 2020
1const string = "hello world 123";
2
3// remove all digits from the string
4const newString = string.replace(/\d/g, "") // "hello world "