• Unit 8: Regular Expressions

    At this point in the course, you should have some familiarity with applying string methods for finding a pattern within a string. Regular expressions are a syntax framework for performing more general pattern searches that allow for a measure of pattern variability. The subject of regular expressions is actually quite deep and highly relevant to the theory of computation. This unit will introduce you to the re module and its regular expression syntax to gain expertise with string pattern searches.

    Completing this unit should take you approximately 3 hours. 

    • 8.1: The "re" Module

    • 8.2: Processing File Data

    • Unit 8 Review and Assessment

      • Receive a grade