What does this tool do?
| Direct answer | Regex Tester evaluates your pattern against the text live, listing every match and capture group. |
| Key fact | The g flag finds all matches; without it only the first is returned. |
| Processing | Runs locally in your browser; no data is sent to a server. |
How to use
- Enter your pattern.
- Set flags (g, i, m…).
- Type test text — matches show live.
Example
Input
\b\w+@\w+\.\w+\b
Output
alice@example.com, bob@test.org
Who is this for?
This tool was built for people who need a fast answer in the browser — no install, no account, no data leaving the device.
Writers cleaning up drafts, developers batch-fixing text, translators, and students. Paste, transform, copy — no signup, no limits.
Frequently asked questions
Which regex flavor?
JavaScript (ECMAScript) regex — the same engine your browser uses.
What are capture groups?
Parenthesized parts of the match, shown next to each result.
Why does my pattern error?
Common causes: unbalanced parens/brackets or invalid flags.