Regex Tester

Test regular expressions against text with real-time match highlighting.

/ /

Common Patterns

PatternDescription
[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}\bIPv4 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})\bHEX color

Need more tools?

Browse our collection of free developer tools.

Browse All Tools →