Does Regex Tester freeze the page on slow patterns?
No. Regular expressions run inside an isolated Web Worker with a 2-second timeout and a 1,000-match cap, plus a Cancel button to terminate the worker immediately.
Free tools for PDF, images, and code
Test JavaScript regular expressions with flags, named captures, UTF-16 offsets, and replacement preview in an isolated worker.
GUIDE & SPECS // REGEX TESTER
Regex Tester evaluates JavaScript regular expressions inside an isolated Web Worker so catastrophic backtracking never freezes your tab. Inspect numbered and named capture groups, UTF-16 code-unit offsets, Unicode zero-width matches, and live replacement previews with standard $&, $1, and $<name> tokens.
FAQ // DEVELOPER
No. Regular expressions run inside an isolated Web Worker with a 2-second timeout and a 1,000-match cap, plus a Cancel button to terminate the worker immediately.
It supports runtime JavaScript flags (d, g, i, m, s, u, v, y without combining u and v) and standard replace syntax including $&, $1, $<name>, and $$. Match start and end offsets are reported in UTF-16 code units.
No. Both regex matching and replacement previews execute strictly inside your local browser worker.
Your output will appear here once you run the tool.