REGEX TESTER & EVALUATOR
Type a pattern and sample text; matches highlight live. Every evaluation runs in a background worker with a 250 ms watchdog, so a catastrophic pattern can’t hang the tab.
Tokens: $1–$99 · $<name> · $& whole match ·
$` before · $' after · $$ literal $.
Saved entries keep pattern, flags, and test text. Export/import is the reliable path —
localStorage is unreliable under file:// and is treated as a convenience only.
Click any token to insert it at the cursor in the pattern field.
(?>…) or possessive quantifiers a++, a*+.(?R) / subroutine calls (?1).\A, \Z, \z anchors — use ^, $ with the m flag.(?i:…) or mode modifiers mid-pattern.(?(1)yes|no) or branch-reset groups.\d, \w, \b are ASCII-only; \p{…} Unicode property escapes need the u or v flag.
Single file · runs from file:// · zero dependencies · all evaluation isolated in a Web Worker.