import re
[and_group.split() for and_group in re.split(r'[ ]*,[, ]*', key_words.strip(', ')) if and_group]
Last active
September 25, 2015 16:35
-
-
Save zh012/c1e1e984e087617daebd to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment