Skip to content

Glossary: RAG Basics

Regular expression

Also written: regex, re

A compact pattern for finding or splitting text. Regexes can find citations like `[S3]`, emails, phone numbers and sentence ends.

Where the book teaches it

Related terms

Redaction