<human>:  Python regex separate space-delimited words into a list
<bot>: Here is some code to separate words delimited by one or more spaces into a list

re.split(' +', 'hello world sample text')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.