Login and get coding
Learn Python regular expressions by writing the following 3 functions.
In each function's
docstringwe show the expected result.
The tests verify these expected results when you hit Save + Verify. We will do a more ample regex bite later on.
<pNote that for parsing HTML you would use a library of some sort, this is just to train your regex skills.
Update 14th of Aug 2019: we updated the template slightly (text inputs are passed into the functions) to improve the tests for this Bite. If you get confusing result, use Try again to start with the updated template.