import re
pattern = re.compile('hello')
if re.match(pattern, 'hello world')
print("Hello, world!")
import re
text = 'The quick brown fox jumped over the lazy dog.'
words = re.findall(r'\b\w+\b', text)
print(words)