Source Code:
(back to article)
import re string = "This is an example string." word_list = re.split(r'\W+', string) print(word_list)
Result:
Report an issue