Lecture 8 - Regular Expressions

Presented by Anthony D. Joseph

Content by Anthony D. Joseph, Josh Hug

A reminder – the right column of the table below contains Quick Checks. These are not required but suggested to help you check your understanding.

Video Quick Check
8.1
Motivation and canonicalizing strings.
8.1
8.2
Using the split method to extract from textual data.
8.2
8.3
Basic regular expression syntax (i.e. closures). Order of operations in regular expressions.
8.3
8.4
Expanded regular expression syntax (i.e. character classes). A couple of regular expression exercises.
8.4
8.5
Limitations of regular expressions. Other regular expression syntax (i.e. lazy closures).
8.5
8.6
Using regular expressions in Python. Regular expression groups.
8.6
8.7
Regular expression case studies on police data and restaurant data.
8.7