Regex Tester
Test regular expressions with live matches
//
g – global (all matches)i – case insensitivem – multilines – dotAllu – unicode
Common Patterns
Quick Reference:
. – Any character\d – Digit (0-9)\w – Word character\s – Whitespace* – 0 or more+ – 1 or more? – 0 or 1^ – Start of string$ – End of string[abc] – Character class(x) – Capture groupx|y – Alternation