IQ
PayloadIQ
PayloadIQ Utilities

Regex Tester

Test a regular expression against sample text and inspect matches and capture groups.

Matches appear here.

Runs in your browser. Your input is not uploaded to PayloadIQ.

This tester compiles your pattern with the JavaScript regular-expression engine — the same one your code runs — so what matches here is what matches at runtime. Type a pattern, set the flags, and paste some test text: every match is listed with its character index, the full matched substring, and any numbered capture groups, so you can confirm both that it matches and exactly what it captures.

Tip: keep the g (global) flag on to see every match rather than just the first, and add i for case-insensitive or m for multiline anchors. One caveat — a global regex that can match an empty string can loop forever in hand-written exec code; here we use matchAll, which advances safely past zero-length matches.

Related utilities

String Case ConverterLine Sort / DedupeJSON Formatter / Validator
Open PayloadIQ Playground