SyntaxFix
Write A Post
Hire A Developer
Questions
I think you need something like this....
b="HELLO,THERE,WORLD" re.findall('[\w]+',b)
Which in Python3 will return
['HELLO', 'THERE', 'WORLD']