human
Python split string based on regex
assistant
Here is some code to split string `input` based on occurrences of regex pattern '[ ](?=[A-Z]+\\b)'

re.split('[ ](?=[A-Z]+\\b)', input)

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