Searchable reference of regular expression syntax and tokens
Showing 66 of 66 tokens.
Anchors
Character classes
Quantifiers
Groups & Alternation
Flags
Backreferences
Lookarounds
Common patterns
JavaScript notes
- JS regexes don't support
\A,\Z, or atomic groups ((?>...)). - Lookbehind (
(?<=...),(?<!...)) requires modern engines (Chrome 62+, Node 10+). - The
uflag enables Unicode property escapes like\p{Letter}and proper surrogate handling. - Always escape literal regex characters (
. * + ? ^ $ ( ) [ ] { } | \\ /) with a backslash.