$ regex-test
Regex Tester
Test JavaScript regular expressions with live match highlighting and capture group output.
//
Ad slot
Regex quick reference
\d digit · \w word char · \s whitespace · . any char · ^ start · $ end · * 0+ · + 1+ · ? optional · {n,m} range · (x) capture · (?:x) non-capture · (?<name>x) named group.
Flags: g global, i ignore case, m multiline, s dot matches newline, u unicode.