Regex Tester
Test and debug regular expressions in real-time. See all matches highlighted, view capture groups, use the cheat sheet, and replace with regex.
/
/
— No pattern
🏷️ Flags & Quick Patterns
📝 Test String
🔄 Find & Replace
0
Matches
0
Capture Groups
0
Test String Chars
0
Lines
🖍️ Match HighlightingMatches highlighted in purple
Enter a regex pattern and test string to see matches...
📋 Match List
No matches yet...
📖 Quick Cheat Sheet
.Any char
*0 or more
+1 or more
?0 or 1
\dDigit
\wWord char
\sWhitespace
\bWord boundary
^Start
$End
[abc]Set
(abc)Group
a|bOr
{n,m}Quantifier
💡 Tip: Use capture groups
(pattern) to extract specific parts. Reference them in replace with $1, $2...