Regex Tester

Test regular expressions in real-time with match highlighting and capture groups.

Email
URL
IP Address
Date (YYYY-MM-DD)
Hex Color
Capitalized Words
/ /

Characters

.Any character
\dDigit [0-9]
\wWord char
\sWhitespace
\bWord boundary

Quantifiers

*0 or more
+1 or more
?0 or 1
{n,m}n to m times

Groups

(abc)Capture group
(?:abc)Non-capture
a|bAlternation
[abc]Char class

Anchors

^Start of string
$End of string
(?=...)Lookahead
(?<=...)Lookbehind