Pattern matching against a string

Here’s some details on how to easily parse HTML with regexes: