Regex Tester
Evaluate patterns against sample text, showing matches and captured groups.
Regular Expression
Enter your regex pattern and select flags
Test Text
Enter text to test against the regex pattern
Common Regex Patterns
Email: simple@email.com
Phone (US): 123-456-7890
URL: https://example.com
IP Address: 192.168.1.1
Hex Color: #FF5733
Date (MM/DD/YYYY): 12/25/2024
Username: username123
HTML Tags: <div>
Flags:
• g
- Global search (find all matches)
• i
- Case-insensitive matching
• m
- Multiline mode (^ and $ match line breaks)
• s
- Dotall mode (. matches line breaks)