Test and debug regular expressions in real-time. Enter a pattern and test text to see matches highlighted instantly. Supports all standard regex flags.
Functions
Pattern Input
Enter your regex pattern here
Flags
Optional regex flags (g, i, m)
Match Highlight
Matches are highlighted in the test text
Match List
All matches listed with position info
Steps
1
Enter your regex pattern in the Pattern field (e.g., [a-z]+, \d{3})
2
Optionally add flags: g (global), i (case-insensitive), m (multiline)
3
Enter test text in the Text area below
4
Matches are highlighted in real-time and listed with their positions
Use cases: Test and debug regular expressions before using in code, validate patterns for search/replace operations, learn regex syntax