Skip to main content
3 of 6
deleted 301 characters in body
Doorknob
  • 72.1k
  • 20
  • 146
  • 393

Ruby, 81 78 68 66

for x in ?!..?~ if/[^for xin?!.~\/\\\[^\]=$><ed]/=~x $><<x end end 

Simply checks itself. Duplicate characters manually removed.

Doorknob
  • 72.1k
  • 20
  • 146
  • 393