8000
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.
1 parent 7df108c commit 4b13066Copy full SHA for 4b13066
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