Puzzle 26: Explanation

Let’s learn how regular expression works in Python.

We'll cover the following

Try it yourself

Try running the code below to verify the result:

Get hands-on with 1000+ tech skills courses.