Use regex in a Python program to find all instances of the word "the".
The quick brown fox jumps over the lazy dog
import re

string = 'The quick brown fox jumps over the lazy dog'

# Prints matches
matches = re.findall('the', string, re.IGNORECASE)
print(matches)