Glossary: Python Beyond the Basics
regular expression
Also written: regex, re, re.findall, re.sub, re.search, group
A pattern for finding text that follows a shape, such as "ORD- plus four digits", used with the `re` module. `findall` returns every match, `sub` replaces, `search` finds the first, and parentheses mark groups to pull out.