Skip to content

Glossary: Speech and Audio AI

Regular expression

Also written: regex, re.sub, re.findall, re.fullmatch

A pattern language for matching and replacing text, used in Python through the `re` module. It is useful for tasks such as stripping punctuation, finding numbers and validating phone numbers.

Where the book teaches it

Related terms

Lookaround