Live highlighting
Matches are marked directly in the test text while preserving whitespace.
Test JavaScript regular expressions and inspect every match as you type.
JavaScript regex dialect
Matches are marked directly in the test text while preserving whitespace.
Toggle global, case-insensitive, multiline, dot-all, and Unicode modes.
Inspect the match index and captured groups for the first 500 results.
Worked example
Test JavaScript regular expressions with live match highlighting.
Pattern: \b[A-Z]{2}\d{3}\b
Text: AB123, invalid, CD4562 matches: AB123 and CD456
Real questions, clear answers
Patterns use the JavaScript RegExp engine available in your browser, including supported flags and Unicode features.
They are listed without trapping the page in a loop; the tester advances safely before finding the next match.
The interface displays the first 500 matches to keep very broad patterns responsive.