Regex Cheat Sheet — Search Regex Patterns by Task
Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only"). Plain-English explanations with examples.
Regex Cheat Sheet
Enter what you want checked below, hit Check, and get a clear pass / warning / fail verdict for every item.
Something went wrong running this tool. Your inputs were kept.
What is Regex cheat sheet?
Regex Cheat Sheet — Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only"). Plain-English explanations with examples.
A hand-curated reference of 40 regular-expression tokens with original plain-English descriptions and examples, covering the syntax shared by JavaScript, Python, PHP, and most other regex flavors. Search is a token-based fuzzy match over the pattern, description, and task keywords — all scoring runs client-side in your browser. Flavor-specific quirks (e.g. lookbehind support) are noted where they matter.
Why use this regex cheat sheet?
Built for regex cheat sheet
Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only"). Plain-English explanations with examples.
Transparent & honest
Covers syntax shared by JavaScript/Python/PHP-style regex; exotic flavors (POSIX, .NET balancing groups) are out of scope.
Private by design
Everything runs in your browser. Your inputs never leave your device.
Works everywhere
Fully responsive — perfect on desktop, tablet, and mobile. No app needed.
Regularly updated
Regularly maintained and reviewed to ensure accuracy.
Free forever
No accounts, no limits, no watermarks. Use Regex Cheat Sheet as much as you need.
How to use Regex Cheat Sheet
- 1Type what you want to match in plain words — e.g. "email address" or "exactly 5 digits".
- 2Run the tool to search 40+ regex tokens, grouped into anchors, quantifiers, groups, character classes, and flags.
- 3Read each match: the token, a plain-English explanation, and a copy-ready example.
- 4Paste the example into your code or a regex tester and adapt it to your input.
- 5Type "all" to browse the complete reference grouped by topic.
What can you do with Regex Cheat Sheet?
- Regex cheat sheet — Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only").
- Regular expression reference — Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only").
- Regex syntax guide — Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only").
- Regex patterns list — Free regex cheat sheet — search 40+ regex tokens by task ("match email", "digits only").
Good to know
- Covers syntax shared by JavaScript/Python/PHP-style regex; exotic flavors (POSIX, .NET balancing groups) are out of scope.
- Email/URL "validation" patterns are practical approximations, not RFC-complete — for critical validation, verify in code too.
- Lookbehind ((?<= )) is unsupported in older JavaScript engines — noted per token where relevant.
How it works
A hand-curated reference of 40 regular-expression tokens with original plain-English descriptions and examples, covering the syntax shared by JavaScript, Python, PHP, and most other regex flavors. Search is a token-based fuzzy match over the pattern, description, and task keywords — all scoring runs client-side in your browser. Flavor-specific quirks (e.g. lookbehind support) are noted where they matter.
Examples
Status: ok — top match: a practical email pattern with an explanation of what each part does.
Status: ok — top match: ^\d{5}$ with anchors explained (start/end of string).
Status: ok — returns the full 40-token reference grouped by category.
Related searches
People also search for these — this tool handles them all: