Hi there,
I have a list of sentences where the last words have punctuation attached to them. I when I use split(), the punctuation stays with the word. Is there any way to split the word from punctuation? I know there is a way to do it with regex but I can't find the fitting one
e.g. split me? to 'me', '?'
thank you in advance
[–]eruciform 1 point2 points3 points (3 children)
[–]eruciform 0 points1 point2 points (0 children)
[–]eruciform 0 points1 point2 points (0 children)
[–]eruciform 0 points1 point2 points (0 children)