Regular Expression
/
/
g
Test String
Highlighted Result
Match Results 0
Quick Cheat Sheet
| Pattern | Meaning |
|---|---|
. | Any character |
\d | Digit [0-9] |
\w | Word char [a-zA-Z0-9_] |
\s | Whitespace |
^ | Start of string |
$ | End of string |
* | 0 or more |
+ | 1 or more |
? | 0 or 1 |
{n,m} | n to m times |
(...) | Capture group |
(?:...) | Non-capture group |
[abc] | Character set |
(?=...) | Lookahead |
(?<=...) | Lookbehind |