Answers for "js string remove everything except letters"

0

remove everything except alphabet and number js

myString.replace(/[A-Za-z0-9_]/g, '')
Posted by: Guest on August-10-2021
0

remove all sign that is not a-b in string js

const str = "abc's test#s";
console.log(str.replace(/[^a-zA-Z ]/g, " "));
Posted by: Guest on December-27-2020

Code answers related to "js string remove everything except letters"

Code answers related to "Javascript"

Browse Popular Code Answers by Language