Regex Tools
Popular
Recently added

Regex Tester

Write a pattern, set flags, and instantly see matches with indexes and groups against your test string.

Features

  • Live match listing
  • Capture group display
  • Flag helpers for i and m
  • Copy matches

How to use Regex Tester

  • 1
    Enter a regex pattern and optional flags.
  • 2
    Paste text to test against.
  • 3
    Review matches and groups below.

Examples

Email-like tokens

Input
\b\w+@\w+\.\w+\b
Output
ada@example.com

About Regex Tester

Regex Tester lets you experiment with JavaScript regular expressions in the browser. Inspect global matches, capture groups, and flag combinations without leaving your workflow.

Frequently asked questions

The browser’s JavaScript RegExp engine.

Use g to collect all matches. Without g, only the first match is shown.

No. Testing is local.