RegEx Tester & Debugger
Test regular expressions with real-time matching, highlighting, and explanations
/
/
Results
0 matches
Enter a regex and test string to see matches highlighted
Quick Examples
Features
- 🔍 Real-time regex testing and matching
- 🎨 Syntax highlighting for matches
- 🚩 Support for all regex flags (g, i, m, s, u)
- 📊 Match count and details
- 📝 Capture group display
- ⚡ Instant feedback as you type
- 💾 Auto-save regex and test string
- 📚 Quick examples for common patterns
- 🌙 Dark mode support
- 📱 Fully responsive design
How to Use
- Enter RegEx - Type your regular expression in the pattern field
- Select Flags - Choose flags like global (g) or case-insensitive (i)
- Enter Test String - Type or paste text to test against
- View Results - See matches highlighted in real-time
- Check Details - View match count and capture groups
RegEx Quick Reference
Character Classes
.
- Any character except newline\d
- Digit (0-9)\w
- Word character (a-z, A-Z, 0-9, _)\s
- Whitespace (space, tab, newline)[abc]
- Any of a, b, or c[^abc]
- Not a, b, or c[a-z]
- Character range (a to z)
Quantifiers
*
- 0 or more+
- 1 or more?
- 0 or 1{n}
- Exactly n times{n,}
- n or more times{n,m}
- Between n and m times
Anchors
^
- Start of string/line$
- End of string/line\b
- Word boundary