Back to all tools

Regex Tester

Test regular expressions against strings with flags, match highlighting, and capture groups.

Pattern
//g
Test String

About Regex Tester

Regex Tester lets you write and test regular expressions against sample text in real time. Matches are highlighted in the text and listed below with their position and captured groups. Supports all JavaScript regex flags including global, multiline, and case-insensitive.

  • Real-time match highlighting
  • Supports g, i, m, s flags
  • Shows match positions and groups
  • Live pattern testing