← Tools
Regex Tester
Test regular expressions live, highlight matches and inspect groups.
//gi
Contact: john@mail.com or jane@test.org
#1 “john@mail.com” @ 9
#2 “jane@test.org” @ 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 groupa|b a or b