Command Palette

Search for a command to run...

Regex Tester

Test, debug, and build regular expressions in real-time with live match highlighting.

//g

Features

  • Real-time match highlighting as you type
  • Supports all standard regex flags (g, i, m, s, u)
  • Displays capture groups and named groups
  • Shows match count and positions
  • 100% client-side, no data leaves your browser

Use Cases

  • Validating form input patterns (email, phone, URL)
  • Writing log parsing scripts
  • Data extraction and text manipulation

How to Use

  1. Enter your regular expression in the Regex field.
  2. Select flags if needed (g, i, m...).
  3. Type or paste your test string in the Test area to see matches highlighted.