>_ Regex Tester
Test regular expressions with real-time matching and highlighting. View match groups, indices, and captured text.
/
/
Common Patterns
Email: [a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}
URL: https?://[^\s]+
IPv4: \b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
Phone: \+?\d{1,3}[-.\s]?\(?\d{1,4}\)?[-.\s]?\d{3,4}[-.\s]?\d{4}
Date: \d{4}-\d{2}-\d{2}
Hex Color: #([0-9a-fA-F]{3}|[0-9a-fA-F]{6})\bFAQ
What flags are supported?>
g (global), i (case-insensitive), m (multiline), s (dotAll), u (unicode), y (sticky). Combine multiple flags like "gmi".