JSON Validator
The other half of validating config and exported data.
Watch matches highlight live as you type a pattern — with capture groups, flags, and honest error messages when a pattern doesn't compile.
Waiting for a pattern…
Match details
| # | Index | Full match | Groups |
|---|
Patterns are compiled with the platform's own RegExp engine, so a valid pattern here runs identically in your code. Invalid patterns produce the same errors you would see in the console.
The sample text is redrawn with each match marked in place — the first in purple and the rest in green — so you can see exactly what the pattern covers and what it leaves alone.
Capturing groups appear in the details table, position by position. Great for debugging template substitutions like $1/replace logic.
JavaScript/ECMAScript — the same engine browsers and Node use, so a pattern validated here behaves identically in your code.
Check flags first: without g only the first match is reported. Then check specials — . [ ] ( ) * + ? { } | \\ are all meaningful, so escape any literal one with a backslash.
Purple marks the very first match of the run; green marks every subsequent one. The rest of the text did not match.