Regex Memo
Find common regular-expression patterns for anchors, character classes, quantifiers, groups, and lookarounds in a fast local reference.
A QUICK WALKTHROUGH
How to use this tool
- Choose a category or search by a term such as “email”, “digits”, or “word boundary”.
- Review the pattern and its plain-English explanation.
- Copy the pattern you need; all filtering and copying happen in your browser.
A compact English reference
The memo focuses on patterns you can reuse in everyday validation, extraction, and search tasks. Each entry includes a short explanation and an example where it helps.
Patterns are starting points
Regular-expression behavior depends on the engine and flags you use. Test a copied pattern against representative input before relying on it in production.
GOOD TO KNOW
Common questions
Does this execute regular expressions?
No. It is a reference and copy tool; it does not send text anywhere or run a pattern against your data.
Which regex flavor is shown?
Patterns use common JavaScript-style syntax unless an entry says otherwise. Check your target engine for differences.
Can I use the patterns commercially?
Yes. They are short reference examples; adapt and test them for your own application.