Regex Tester
Test regular expressions with live matching, highlighting, and captured groups
//g
How to Use
- Enter your regex pattern.
- Select the flags you need (g, i, m).
- Enter your test string and matches will be highlighted in real time.
FAQ
What are regex flags?
Flags modify regex behavior: 'g' for global (find all matches), 'i' for case-insensitive, and 'm' for multiline (^ and $ match line boundaries).
Why is my regex not matching?
Common issues include forgetting to escape special characters (like . or *), not enabling the global flag, or incorrect character class usage.