ITEngineeringTools

Regex Tester

Test JavaScript regular expressions with flags, indexed matches, and capture groups.

Input

Result

How it works

The tool runs the browser’s JavaScript regex engine in a dedicated Web Worker. Use g to find successive matches. The worker is terminated if processing exceeds the time budget.

Example

Regular expression pattern: (\d+)
Flags (d, g, i, m, s, u, v, y): g
Text to test: Item 42, code 9001

The pattern captures 42 and 9001 as separate matches.