Regex Tester
Test regular expressions with live match highlighting.
Pattern
//g
Flags:
Test String
Common Patterns
About Regex Tester
Test and debug regular expressions in real time. Enter a pattern and test string to instantly see all matches highlighted, with detailed capture group information. Supports JavaScript regex syntax with global (g), case-insensitive (i), multiline (m), and dotAll (s) flags. Use the cheat sheet to quickly load common patterns for emails, URLs, IPs, and more.