When you're working with text, regular expressions come in very handy. We'll
apply them in a number of ways to our featured text sample. It's a poem titled
"Ode on the Mammoth Cheese," written by James
McIntyre in 1866 in homage to a seven-thousand-pound cheese that was crafted
in Ontario and sent on an international tour. If you'd rather not type all of
it, use your favorite search engine and cut and paste the words into your
Python program, or just grab it from Project Gutenberg. Call the text string
mammoth.