Regular Expression

/ / g
Test String
Highlighted Result
Match Results 0
Quick Cheat Sheet
PatternMeaning
.Any character
\dDigit [0-9]
\wWord char [a-zA-Z0-9_]
\sWhitespace
^Start of string
$End of string
*0 or more
+1 or more
?0 or 1
{n,m}n to m times
(...)Capture group
(?:...)Non-capture group
[abc]Character set
(?=...)Lookahead
(?<=...)Lookbehind