{{nfaModel.error.msg}}  
Result: Matches Does not match starting at the black triangle slider
{{flavors[reModel.flavor].external}} regex quick reference
[abx-z]One character of: a, b, or the range x-z
[^abx-z]One character except: a, b, or the range x-z
a|ba or b
a?Zero or one a's (greedy)
a??Zero or one a's (lazy)
a*Zero or more a's (greedy)
a*?Zero or more a's (lazy)
a+One or more a's (greedy)
a+?One or more a's (lazy)
a{4}Exactly 4 a's
a{4,8}Between (inclusive) 4 and 8 a's
a{9,}9 or more a's
(?>...)An atomic group
(?=...)A positive lookahead
(?!...)A negative lookahead
(?<=...)A positive lookbehind
(?<!...)A negative lookbehind
(?:...)A non-capturing group
(...)A capturing group
(?P<n>...)A capturing group named n
^Beginning of the string
$End of the string
\dA digit (same as [0-9] )
\DA non-digit (same as [^0-9] )
\wA word character (same as [_a-zA-Z0-9] )
\WA non-word character (same as [^_a-zA-Z0-9] )
\sA whitespace character
\SA non-whitespace character
\bA word boundary
\BA non-word boundary
\nA newline
\tA tab
\cYThe control character with the hex code Y
\xYYThe character with the hex code YY
\uYYYYThe character with the hex code YYYY
.Any character
\YThe Y'th captured group
(?1)Recurse into numbered group 1
(?&x)Recurse into named group x
(?P=n)The captured group named 'n'
(?#...)A comment

Full {{flavors[reModel.flavor].external}} regex cheatsheet
原网站https://www.debuggex.com/