Type a pattern and see exactly what it matches, highlighted live in your test text.
Your input is never sent to a server — everything runs in your browser
This tester uses your browser's own regex engine, so results match JavaScript exactly. The core syntax (\d, \w, quantifiers, groups) is shared with most languages, though details like lookbehind support vary. A classic gotcha: patterns embedded in program strings often need doubled backslashes (\\d) — here you type the raw pattern.
| Example | Meaning |
|---|---|
| ^[\w.+-]+@[\w-]+\.[\w.]+$ | Basic email check |
| https?://[^\s]+ | Extract URLs |
| \b\d{4}-\d{2}-\d{2}\b | ISO dates (2026-07-17) |