Regex Tester

Live evaluate regular expressions with capture groups and highlighting.

//
Match 1:support@example.com
Match 2:sales@company.co.uk

Regex Cheatsheet

Character Classes

. Any character except newline\w Word character (a-z, A-Z, 0-9, _)\d Digit (0-9)\s Whitespace (space, tab, newline)

Anchors

^ Start of string / line$ End of string / line\b Word boundary

Quantifiers

* 0 or more+ 1 or more? 0 or 1 (optional){n} Exactly n times

Groups

(...) Capture group[abc] Any of a, b, or c[^abc] Not a, b, or ca|b Match a or b

Flags

g Global (don't stop at first match)i Case insensitivem Multiline (^ and $ match per line)

About Regex Tester

Live regular expression evaluator supporting capture groups, flags, match breakdown, and quick syntax cheatsheets.

Key Features

  • Live match highlighting against your own test string as you type the pattern.
  • Shows capture groups and named groups separately from full matches.
  • Supports common flags (g, i, m, s) with per-flag toggles.