██████╗ ███████╗ ██████╗ ███████╗██╗ ██╗ ██╔══██╗██╔════╝██╔════╝ ██╔════╝╚██╗██╔╝ ██████╔╝█████╗ ██║ ███╗█████╗ ╚███╔╝ ██╔══██╗██╔══╝ ██║ ██║██╔══╝ ██╔██╗ ██║ ██║███████╗╚██████╔╝███████╗██╔╝ ██╗ ╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
FAQ — Regex Tester
Regex Tester — frequently asked questions
What does this regex tester do?
It lets you write a regular expression and instantly see all matches highlighted in your test string. You get live stats, capture group details, index positions, and can also test replacements.
Is my data uploaded anywhere?
No, never. The entire tool runs in JavaScript inside your browser. No data is sent to any server. You can verify this in your browser's network tab.
Which regex flavour is used?
JavaScript (ECMAScript) regular expressions. This is the same engine used in modern browsers, Node.js, Deno, and Bun. Named groups, lookbehinds, and Unicode property escapes are supported.
Can I use flags like global or case-insensitive?
Yes. Toggle the g (global), i (case-insensitive), m (multiline), s (dotAll), and u (unicode) flags with the buttons above the pattern input. The regex is re-evaluated instantly.
How do capture groups work?
Wrap part of your pattern in parentheses () to create a capture group. The match details table below the output shows each group's value and index. Groups are colour-coded in the output.
Can I test replacements?
Yes. Type a replacement string in the replacement input below the pattern. Use $1, $2 etc. to reference capture groups, or $& for the full match. The replaced output appears live.
Can I share my regex?
Click the Share link button to copy a URL that encodes your pattern, flags, and test string. Anyone who opens the link will see the same setup.