s='theQuick--brown_fox JumpsOver___the.lazy DOG'puts s.scan(/\p{Lu}{2,}|\p{L}\p{Ll}*/).map(&:downcase)
Standard input is empty
the quick brown fox jumps over the lazy dog
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!