Regular Expression Tester
Test, debug, and optimize your regular expressions with real-time matching and visualization
/ /
g: global match, i: case-insensitive, m: multiline, s: dot matches all, u: Unicode mode
Tips
- Use capture groups (parentheses) to extract specific parts of matches
- The "g" flag enables finding all matches, not just the first
- For email validation, try: \b[\w.%+-]+@[\w.-]+\.[a-zA-Z]{2,}\b