<human>:  Python regex search AND split
<bot>: Here is some code to search and split string 'aaa bbb ccc ddd eee fff' by delimiter '(ddd)'

re.split('(ddd)', 'aaa bbb ccc ddd eee fff', 1)

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