Regex Pattern
/
/
Pattern Presets
Test String
Results 0 matches found
Match Details
Enter a pattern and test string to see match details.
Capture Groups
Capture groups will appear here when matches are found.
Quick Reference
.Any character
*0 or more
+1 or more
?0 or 1 (optional)
{n}Exactly n times
{n,m}Between n and m
[abc]Character class
[^abc]Negated class
(abc)Capture group
(?:abc)Non-capturing group
a|bAlternation (or)
^Start of string
$End of string
\bWord boundary
\dDigit [0-9]
\DNon-digit
\wWord char [a-zA-Z0-9_]
\WNon-word char
\sWhitespace
\SNon-whitespace
(?=...)Positive lookahead
(?!...)Negative lookahead
(?<=...)Positive lookbehind
(?<name>)Named group