<human>:  Regex punctuation split [Python]
<bot>: Here is some code to split string 'Words, words, words.' on punctuation

re.split('\\W+', 'Words, words, words.')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.