← Tools

Regex Tester

Test regular expressions live, highlight matches and inspect groups.

//gi
#1 “[email protected]” @ 9
#2 “[email protected]” @ 26

Quick reference

\d digit (0-9)
\w word char
\s whitespace
. any char
^ $ start / end
* 0 or more
+ 1 or more
? 0 or 1
{n,m} n to m times
[abc] any of a,b,c
(…) capture group
a|b a or b