🔍 Regex Tester

Test regular expressions live with match highlighting and capture groups

✓ Runs entirely in your browser — your data never leaves this device

About This Tool

Test regular expressions live: matches are highlighted, counted, and capture groups are listed. Supports all JavaScript flags (g, i, m, ...). A sandbox for writing and debugging regex.

How to Use

  1. Enter your regex and flags (g by default)
  2. Paste test text below
  3. Matches highlight live; the result panel shows counts and groups

FAQ

Which flags are supported?

All JavaScript flags: g global, i case-insensitive, m multiline, s dotAll, and more.

Where are capture groups shown?

The first 10 matches containing groups are listed under the result panel.