Regular expression tester
Test JavaScript regular expressions, flags, and capture groups inside an isolated Web Worker protected by an automatic timeout.
0 matches
Executed inside isolated Web Worker (400ms ReDoS limit)Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.
Report a problem with this toolIsolated execution & ReDoS protection
Web Worker timeout guard: Patterns run inside a background Web Worker terminated automatically after 400ms if catastrophic backtracking occurs, preventing browser tab freezes.
Capture group inspection: View character index ranges and positional capture groups ($1, $2…) alongside highlighted match segments.
Frequently asked questions
- Why did my pattern stop after 400ms?
- Nested ambiguous quantifiers like (a+)+ on non-matching text can take exponential time. The worker timeout cancels runaway matches safely so the page stays responsive.
Related tools
Browse all toolsText & writing
Text diff checker
Compare two blocks of text or code line by line locally using unified and side-by-side diff views.
Developer tools
JSON formatter & validator
Format, minify, and validate JSON syntax with exact line and column error reporting inside your browser.
Text & writing
Slug generator & line cleaner
Turn titles into clean URL slugs, normalize diacritics, deduplicate lines, trim whitespace, and sort text locally.