Regex Tester
Test and debug regular expressions with real-time matching and highlighting
Regular Expression
Enter your regex pattern
//
g: global, i: case-insensitive, m: multiline, s: dotAll, u: unicode, y: sticky
Common Patterns
Quick start with common regex patterns
Test String
Enter text to test against your pattern
Quick Tips
- Use the g flag to find all matches instead of just the first one
- Enable i flag for case-insensitive matching
- Use parentheses
()to create capture groups - Test your regex with multiple test strings to ensure it works correctly