Regex Testing Tool
Test, validate, and debug regular expressions with real-time matching and detailed explanations. This tool helps you build and optimize regex patterns for various use cases.
Regex Test Results
Pattern Explanation
0
Matches Found
0
Capture Groups
0ms
Execution Time
Common Regex Patterns
Email Validation
^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$
Matches valid email addresses
Password Strength
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$
Matches strong passwords with at least 8 characters, including uppercase, lowercase, number and special character
IP Address
\b\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}\b
Matches IPv4 addresses
URL Validation
^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$
Matches valid URLs
Date Format
\d{4}-(0[1-9]|1[0-2])-(0[1-9]|[12]\d|3[01])
Matches dates in YYYY-MM-DD format