I need to capture multiple groups of the same pattern. Suppose, I have a following string:
HELLO,THERE,WORLD
And I\'ve written a following
I think you need something like this....
b="HELLO,THERE,WORLD" re.findall('[\w]+',b)
Which in Python3 will return
['HELLO', 'THERE', 'WORLD']