Regex Tester
Write a regular expression and see matches highlighted live as you type, with capture groups and an optional find-and-replace preview. Uses JavaScript regex syntax.
//g
Contact us at hello@example.com or support@mcstumble.com for help.
2 matches
#1 @ 14: hello@example.com
#2 @ 35: support@mcstumble.com
\ddigit 0-9
\wword character
\swhitespace
.any character
+one or more
*zero or more
?optional
^start
$end
[abc]character set
(a|b)a or b
{2,4}2 to 4 times
(?<name>...)named group
(?=...)lookahead
\bword boundary