Unit J Reading assignment
Examples
RegEx functions
match object methods
RegEx1 search
RegEx2 match object
RegEx3 findall object
RegEx4 split object
RegEx5 sub
Chapter 12 Wrangle and Mangle
Read only the sections listed here.
Text Strings: Regular Expressions
Find Exact Beginning Match with match()
scan; we will not be using find() but details are useful.
Find First Match with search()
Find All Matchs with findall()
Split at Matches with split()
Replace at Matches with sub()
Patterns: Special Characters
Patterns: Using Specifiers
Patterns: Specifying match() Output
this also applies to search(), which we are using,