Regex Tester
royhp.comPattern
/ /
Only the first match is shown — enable the g flag to find every match.
Examples
Test string
—Matches
Token cheatsheet
Runs entirely on your device. Matching executes in a Web Worker with a 1000 ms time budget, so a catastrophic-backtracking pattern is hard-stopped instead of freezing the page. Where Web Workers are unavailable, a best-effort synchronous time budget is used instead.