Regular Expression Cheat Sheet
\d— Any digit (0-9)\w— Word character (a-z, A-Z, 0-9, _)\s— Whitespace.— Any character except newline^— Start of string$— End of string+— One or more*— Zero or more?— Zero or one()— Capture group
Test and debug regular expressions in real-time. Matches are highlighted instantly as you type.
\d — Any digit (0-9)\w — Word character (a-z, A-Z, 0-9, _)\s — Whitespace. — Any character except newline^ — Start of string$ — End of string+ — One or more* — Zero or more? — Zero or one() — Capture group