TaskUtil

Regex Tester

Test regular expressions live with flags (g, i, m), inspect highlighted matches, and view capture groups locally.

How It Works

  1. Enter a JavaScript regular expression pattern, flags (e.g. g, i, m), and test text.
  2. Inspect every matched substring, character index, and capture group immediately.

Frequently Asked Questions

How are empty matches handled?

The matcher safely advances past zero-length matches and caps output at 200 matches to keep your browser responsive.

Suggested Next Tools