Lecture 7 - 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.
Motivation and canonicalizing strings.
Using the split method to extract from textual data.
Basic regular expression syntax (i.e. closures). Order of operations in regular expressions.
Expanded regular expression syntax (i.e. character classes). A couple of regular expression exercises.
Limitations of regular expressions. Other regular expression syntax (i.e. lazy closures).
Using regular expressions in Python. Regular expression groups.
Regular expression case studies on police data and restaurant data.