"If the brown fox jumps over another brown fox, while a white fox ducks under another white fox, jump for joy."

I would like to remove every word between the word "fox". For example, I need to remove " jumps over another brown " and " ducks under another white ".

Thank you.