Regex Generator
Sample Inputs (one per line)
Negative Samples (optional)
Generate Regex
Generated Regular Expression
Copy
The generated regular expression will match the patterns provided in your sample inputs.
Test Your Regex
Test Match
Common Patterns
Email
email@domain.com
Phone Number
123-456-7890
URL
https://example.com
ZIP Code
12345 or 12345-6789
UUID
123e4567-e89b-12d3-a456-426614174000
Date (YYYY-MM-DD)
2023-01-31