How to Use the Regex Tester
- Enter your regular expression pattern.
- Set flags such as g (global) or i (case-insensitive).
- Type or paste the text to test against.
- See matches highlighted and listed with their capture groups.
Frequently Asked Questions
Which regex flavour does it use?
It uses JavaScript's built-in regular-expression engine, so patterns behave exactly as they would in JavaScript code.
Does it show capture groups?
Yes. For each match, the tool lists the full match and any captured groups, which helps when extracting parts of a string.
What do the flags mean?
g matches all occurrences, i ignores case, m treats each line separately for ^ and $, and s lets the dot match newlines.
