🧮 Regex Tester
Test regular expressions with live highlighting. AI generates regex from plain English. Free, instant, 100% private.
/
/g
AI Regex Generator
Match Details
Regex Quick Reference
| Pattern | Matches |
|---|---|
\d | Any digit [0-9] |
\w | Word character [a-zA-Z0-9_] |
\s | Whitespace |
. | Any character |
* + ? | 0+, 1+, 0 or 1 |
{n,m} | n to m times |
^ $ | Start / end of line |
\b | Word boundary |
[abc] | Character class |
(...) | Capture group |
(?:...) | Non-capturing group |
About Regex Tester
Test and debug regular expressions in real-time. JavaScript and PCRE flavors. See matches, groups, and match positions. Explain mode breaks down complex patterns. All in your browser.
Real-Time Matching
Type your regex and see matches instantly. All matches highlighted with color-coded capture groups.
Match Details
See full match, individual groups, start/end positions, and match count. Export results as JSON.
Flags Support
Toggle global (g), case-insensitive (i), multiline (m), dotAll (s), and unicode (u) flags.
Cheat Sheet
Built-in regex reference with common patterns, quantifiers, character classes, and anchors.