New to python and I'm having trouble getting the function i want out of regex. Basically i have a string that looks like "Hello, World, Nice" and i need to convert it into a list with the delimiter being ,. End result should look like ['Hello', 'World', 'Nice']
re.split(',', string)
Basically the result i get is
['Hello', ' World', ' Nice'].
I know a solution via a different method but i'd like to uses regex.
help much appreciated.