s = 'I'm all right.'
s.split()
["I'm", "all", "right."]
Is there a convenient way to get rid of the periods when splitting a string into a list of words? For example, how can I obtain
["I'm", "all", "right"]
in the example above? I want to retain other punctuations such as en dash in right-out-of-school and single quote in I've been there.