We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7df108c + 4b13066 commit db998d7Copy full SHA for db998d7
palindromes/palindromes.js
@@ -1,5 +1,5 @@
1
const palindromes = function(string) {
2
- processedString = string.toLowerCase().replace(/[^A-Za-z]/g, "");
+ processedString = string.toLowerCase().replace(/[^a-z]/g, "");
3
return (
4
processedString
5
.split("")
0 commit comments