🔍 Regex Tester
Test and debug regular expressions in real-time. Visualize matches, extract groups, and learn regex patterns with our powerful online tool.
📝 Regular Expression
/
/
Status:
Ready
Matches:
0
Groups:
0
📄 Test String
✨ Results
Enter a regex pattern and test string to see
highlighted matches
No matches found
Enter replacement pattern to see result
📚 Common Patterns
🛠️ Regex Builder
Character Classes
Character Sets
Basic Quantifiers
Specific Counts
Position Anchors
Lookahead / Lookbehind
Grouping
Named Groups & Backreferences
Escape Special Characters
Custom Character Set
Literal Text
🎯 Regex Flags
g- Global: find all matchesi- Case insensitive matchingm- Multiline modes- DotAll:.matches newlinesu- Unicode support
📝 Character Classes
\d- Any digit (0-9)\w- Word character (a-z, A-Z, 0-9, _)\s- Whitespace.- Any character except newline[abc]- Character set
🔢 Quantifiers
*- Zero or more+- One or more?- Zero or one{n}- Exactly n times{n,m}- Between n and m times
⚓ Anchors & Groups
^- Start of string/line$- End of string/line\b- Word boundary(abc)- Capture group(?:abc)- Non-capturing group