Complete Regex (Regular Expressions) keyboard shortcuts and commands reference — 12 shortcuts across 1 categories. Quick reference cheat sheet for Windows & Mac.
| Shortcut | Action |
|---|---|
| . | Any character |
| \\d | Digit |
| \\w | Word char |
| \\s | Whitespace |
| ^ | Start of line |
| $ | End of line |
| * | Zero or more |
| + | One or more |
| ? | Zero or one |
| [abc] | Char class |
| (group) | Group |
| a|b | OR |
The most essential Regex (Regular Expressions) shortcuts are: . (Any character), \\d (Digit), \\w (Word char). These cover the most frequent actions and can significantly speed up your workflow.
Regex (Regular Expressions) has 12 keyboard shortcuts across 1 categories on shortcut-tools.com.
Simply press the key combination while Regex (Regular Expressions) is focused. Most shortcuts work immediately. On Mac, replace Ctrl with Cmd and Alt with Option for most shortcuts.
The Regex (Regular Expressions) shortcut for any character is ..
Regex (Regular Expressions) includes 12 Patterns shortcuts, including . (Any character) and \\d (Digit). See the full list in the Patterns section above.
Print the Regex (Regular Expressions) cheat sheet and keep it next to your keyboard for the first week, then switch to active recall: open Shortcut Speedrun and practice Regex (Regular Expressions) shortcuts against the clock until they're automatic.
Yes — use My Stack to combine Regex (Regular Expressions) shortcuts with any other platform on this site into one printable reference, which is useful if your daily workflow spans several tools.
Open your assistant with this page preloaded as the source — great for follow-up questions like "which of these work in other apps?"