🔍

Regex Tester

Test and debug regular expressions in real-time — no server, no refresh

/ /
🎯 0 matches 📦 0 groups
Enter a pattern to see matches highlighted here...
No matches yet. Type a pattern above to see results.
📋 Copied!
📖 Regex Quick Reference
. Any char
\d Digit [0-9]
\w Word char [a-zA-Z0-9_]
\s Whitespace
\b Word boundary
^ Start of string
$ End of string
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m times
(x|y) Alternation
(x) Capture group
(?:x) Non-capture group
(?=x) Lookahead
(?!x) Neg. lookahead