📅  最后修改于: 2022-03-11 15:04:16.539000             🧑  作者: Mango
let strWOnlyLetters = "$69%)#$%onlyLetters69_69#$@.replace(/[^a-zA-Z]/g,"");
console.log(strWOnlyLetters);
//-> "onlyLetters"