<human>:  Split by suffix with Python regular expression
<bot>: Here is some code to split string `s` by words that ends with 'd'

re.findall('\\b(\\w+)d\\b', s)

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