Pybites Logo

Regex fun

Level: Advanced (score: 4)

Learn some Python regular expressions by completing the following three functions.

Each function recieves a text string with different content, it's up you parse out and return the text described in each function's docstring.

Note: normally when we parse HTML we use a library of some sort. This Bite helps you appreciate the work that goes into those libraries!