I am splitting a string using "Python strings split with multiple separators":
import re
DATA = "Hey, you - what are you doing here!?"
print re.findall(r'\w+', DATA)
# Prints ['Hey', 'you', 'what', 'are', 'you', 'doing', 'here']
I want to get a separate list of of what's in between the matched words:
[", ", " - ", " ", " ", " ", " ", "!?"]
How do I do this?