Regex Tester
Test regular expressions against text with real-time match highlighting.
/
/
Common Patterns
| Pattern | Description |
|---|---|
[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z]{2,} | Email address |
https?://[^\s/$.?#].[^\s]* | URL |
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b | IPv4 address |
\d{4}-\d{2}-\d{2} | Date (YYYY-MM-DD) |
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d).{8,}$ | Strong password |
#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})\b | HEX color |
Need more tools?
Browse our collection of free developer tools.
Browse All Tools →