This is an archived version of the course and is no longer updated. Please find the latest version of the course on the main webpage.

Regular Expressions

In this module, we will try to apply regular expressions in Python to solve various problems.

I will assume that you know what regular expressions are and how they can be used. Otherwise, please attend my live session this week where I will give you an introduction on the topic.

The focus in this module is to give some practical experience in matching patterns with regular expressions specifically in Python.

We will use the re module from the Python Standard Library.

import re