Skip to main content
1

Regex Cheat Sheet

Interactive regex cheat sheet with syntax reference and live examples. Search and filter patterns by category — character classes, quantifiers, anchors, and groups.

More options
Was this tool helpful?
Send output to:
Advertisement

How to use Regex Cheat Sheet

  1. Browse patterns by category or search.
  2. Click any pattern to see it in action.
  3. View live match examples with highlighting.
  4. Copy the pattern to your clipboard.

What is Regex Cheat Sheet?

A regex cheat sheet provides a quick reference for regular expression syntax organized by category. It includes character classes, quantifiers, anchors, groups, lookaheads, and common patterns with examples.

This interactive version lets you search for specific patterns, see live examples with match highlighting, and copy patterns to your clipboard. It's an essential reference for developers working with regex.

Advertisement

FAQ

What categories are covered?
Character classes, quantifiers, anchors, groups, lookaheads/lookbehinds, flags, and common patterns (email, URL, IP, etc.).
Can I test patterns from the cheat sheet?
Yes — click any pattern to load it into the test input and see live matches.

Related tools

Advertisement