sample_string = "let's could've they'll you're won't"p sample_string.scan(/(?<![\w'])\w+/)
Standard input is empty
["let", "could", "they", "you", "won"]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!