Axtria Interview Question

Write code for finding 'dog' in "Dog is animal" using regex in python with full syntax.