Splitting Sentences into Words
class String def words scan(/\w[\w\'\-]*/) end end "This is a test of words' capabilities".words