How Regex Tester works
The regex tester lets you write a JavaScript regular expression, paste sample text, and see every match highlighted in real time. Capture groups appear in a table below the text so you can inspect what each group captured without running a script. Supported flags are g (global), i (case-insensitive), m (multiline), s (dotAll), u (Unicode) and y (sticky). Nothing you type leaves your device: the matching engine is the JavaScript runtime built into your browser tab, not a server.
Under the hood, the tool calls the standard ECMAScript RegExp constructor with the pattern and flags you provide, then uses the string matchAll iterator to collect all Match objects. The groups table is built directly from those objects, so what you see is exactly what Node.js or a browser would return in production code, with no intermediate translation layer.