All tools
Regex Cheatsheet
DevelopmentConcise JavaScript Regular Expression reference covering anchors, quantifiers, and lookarounds.
Character Classes
.Any character except newline\d / \DDigit [0-9] / Non-digit [^0-9]\w / \WWord [A-Za-z0-9_] / Non-word\s / \SWhitespace / Non-whitespace[xyz] / [^xyz]Any of x, y, z / None of x, y, zQuantifiers & Anchors
^ / $Start / End of string\bWord boundary* / + / ?0+ / 1+ / 0 or 1{n} / {n,m}Exactly n / Between n and mGroups & Lookarounds
(foo)Capturing group(?:foo)Non-capturing groupfoo(?=bar)Positive lookaheadfoo(?!bar)Negative lookahead(?<=bar)fooPositive lookbehind