How it works
Enter a pattern, optional flags, and a sample string. The page builds a JavaScript RegExp and lists matches, including capture groups. The global flag is added when it is missing so more than one match can be shown. A pattern that is too large, or a sample over 20,000 characters, is rejected. Catastrophic backtracking can still freeze a tab; keep samples short.