Regex Tester

Test regular expressions with real-time matching and capture group highlighting.

/ /g
Flags:
Test String 419 chars
Highlighted Matches 0 matches
Enter a pattern to see matches...

About This Tool

Test and debug your regular expressions in real-time. Enter a pattern and see matches highlighted instantly in your test string.

Features

  • Real-time matching as you type
  • Support for all JavaScript regex flags (g, i, m, s, u)
  • Capture group extraction and display
  • Color-coded match highlighting
  • Library of common regex patterns
  • Copy match results to clipboard
  • Client-side processing - your data never leaves your browser

Regex Flags Explained

  • Global (g) - Find all matches instead of stopping after the first
  • Case insensitive (i) - Match letters regardless of case
  • Multiline (m) - ^ and $ match start/end of each line
  • DotAll (s) - Dot (.) matches newline characters
  • Unicode (u) - Enable Unicode features and strict syntax