Skip to main content
Post Undeleted by Arnauld
fixed version
Source Link
Arnauld
  • 197.6k
  • 20
  • 179
  • 649

JavaScript (ES6), 6468 bytes

a=>a.filter(w=>ww=>(w=w.toLowerCase())==w.match(/[a-z]/g).sort().join``==wjoin``)

Try it online!Try it online!

JavaScript (ES6), 64 bytes

a=>a.filter(w=>w.toLowerCase().match(/[a-z]/g).sort().join``==w)

Try it online!

JavaScript (ES6), 68 bytes

a=>a.filter(w=>(w=w.toLowerCase())==w.match(/[a-z]/g).sort().join``)

Try it online!

Post Deleted by Arnauld
added 120 characters in body
Source Link
Arnauld
  • 197.6k
  • 20
  • 179
  • 649

JavaScript (ES6), 5164 bytes

a=>a.filter(w=>w.toLowerCase().match(/[a-z]/gig).sort().join``==w)

Try it online!Try it online!

JavaScript (ES6), 51 bytes

a=>a.filter(w=>w.match(/[a-z]/gi).sort().join``==w)

Try it online!

JavaScript (ES6), 64 bytes

a=>a.filter(w=>w.toLowerCase().match(/[a-z]/g).sort().join``==w)

Try it online!

Source Link
Arnauld
  • 197.6k
  • 20
  • 179
  • 649

JavaScript (ES6), 51 bytes

a=>a.filter(w=>w.match(/[a-z]/gi).sort().join``==w)

Try it online!