Answers for "remove all non letter characters from string"

0

remove all non letter characters from string

function onlyLetters(str) {
  return str.replace(/[^a-z]/gi, '');
}
console.log(onlyLetters('G!=o:~d0z0./i&l}9`l60a='));
Posted by: Guest on February-16-2021

Code answers related to "remove all non letter characters from string"

Code answers related to "Javascript"

Browse Popular Code Answers by Language