Regex syntax reference
A searchable cheat sheet for regular expressions — character classes, anchors, quantifiers, groups, alternation, lookaround and flags — each with a plain-English meaning. Syntax follows the common JavaScript / PCRE conventions.
Type a token or keyword — for example digit, lookahead or quantifier — to
filter the list. Everything runs in your browser.