🔍 Regex Tester
Test and debug regular expressions with real-time matching, explanations, and common patterns.
/
/
📊 Results
0 matches
🎯 Matches:
👥 Capture Groups:
💡 Pattern Explanation
📚 Common Patterns
📧 Email & Web
Email
Email validation
URL
URL validation
IP Address
IPv4 address
📱 Phone & Numbers
Phone
International phone
Numbers
Digits only
Credit Card
Card number format
📅 Date & Time
Date
YYYY-MM-DD format
Time
HH:MM or HH:MM:SS
🔤 Text Patterns
Capitalized
First letter uppercase
Long Words
3+ character words
Hex Color
6-digit hex colors
🛠️ Tools
💾 Saved Patterns
Real-time Testing
See matches and results instantly as you type your pattern.
Visual Highlighting
Matches are highlighted in the test string for easy identification.
Capture Groups
View and analyze capture groups with detailed information.
Pattern Explanation
Get explanations for complex regex patterns and syntax.
Common Patterns
Quick access to frequently used regex patterns.
Save & Export
Save patterns and export results for later use.
📚 Regex Quick Reference
🔤 Character Classes
.
- Any character (except newline)\\d
- Digit (0-9)\\w
- Word character (a-z, A-Z, 0-9, _)\\s
- Whitespace character[abc]
- Character set (a, b, or c)[^abc]
- Negated set (not a, b, or c)
🔢 Quantifiers
*
- 0 or more+
- 1 or more?
- 0 or 1{3}
- Exactly 3{3,}
- 3 or more{3,5}
- Between 3 and 5
🎯 Anchors
^
- Start of string$
- End of string\\b
- Word boundary\\B
- Non-word boundary
👥 Groups
(abc)
- Capture group(?:abc)
- Non-capture group(?=abc)
- Positive lookahead(?!abc)
- Negative lookahead