Skip to content

Glossary: LLMs in Production

Regular expression

Also written: regex, re

A pattern for matching text. They are useful for finding emails and card numbers to redact and for checking model answers, but they can't reliably recognize things like names.

Where the book teaches it

Related terms

Redaction