let strWOnlyLetters = "$69%)#$%onlyLetters69_69#$@.replace(/[^a-zA-Z]/g,""); console.log(strWOnlyLetters); //-> "onlyLetters"