Skip to main content

Regex Tester

Test regular expressions live with match highlighting.

2 matches

  • alice@example.com
  • bob@test.org

What does this tool do?

Direct answerRegex Tester evaluates your pattern against the text live, listing every match and capture group.
Key factThe g flag finds all matches; without it only the first is returned.
ProcessingRuns locally in your browser; no data is sent to a server.

How to use

  1. Enter your pattern.
  2. Set flags (g, i, m…).
  3. 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.

More tools in this category