avatar Bite 2. Regex Fun

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!

Login and get coding
go back Advanced level
Bitecoin 4X

1026 out of 1178 users completed this Bite.
Will you be Pythonista #1027 to crack this Bite?
Resolution time: ~60 min. (avg. submissions of 5-240 min.)
Pythonistas rate this Bite 4.96 on a 1-10 difficulty scale.
» Up for a challenge? 💪

Focus on this Bite hiding sidebars, turn on Focus Mode.

Ask for Help