Regex Pattern

Results & Matches

Enter a regex pattern and test string to see matches highlighted here.

📚 Regex Cheat Sheet

\d - Digit (0-9)
\w - Word character
\s - Whitespace
. - Any character
* - 0 or more
+ - 1 or more
? - 0 or 1
{n,m} - Between n and m
[abc] - Any of a,b,c
[^abc] - Not a,b,c
(abc) - Capture group
^ - Start of string
$ - End of string
| - OR operator