← All tools
Regex Tester
Type a JavaScript regular expression and it's matched against your text live — matches are highlighted as you type.
Test string
0 chars
Matches
highlighted
Status Enter a pattern
Matches —
Groups —
Flags —
What this tool does
It compiles the pattern you type with JavaScript's own regular-expression engine and runs it against your test text, highlighting every match. The readout shows how many matches were found, how many capturing groups the pattern has, and which flags are active.
Flags
i— case-insensitivem— multiline (^and$match line boundaries)s— dotall (.matches newlines)u— Unicode;y— sticky
Global scanning is always on so every match is highlighted, not just the first.
Privacy
The pattern and your text never leave the page — matching runs entirely in your browser.