Keyboard Shortcuts
Speed up your workflow with these keyboard shortcuts.
Global Shortcuts
| Shortcut | Action |
|---|---|
/ | Focus the regex editor |
Escape | Clear selection / close modal |
Cmd/Ctrl + Enter | Force reparse / refresh pattern |
Cmd/Ctrl + Shift + C | Copy share link |
Editor Shortcuts
When focused in the regex or test text editor:
| Shortcut | Action |
|---|---|
Cmd/Ctrl + A | Select all |
Cmd/Ctrl + Z | Undo |
Cmd/Ctrl + Shift + Z | Redo |
Cmd/Ctrl + C | Copy |
Cmd/Ctrl + V | Paste |
Cmd/Ctrl + X | Cut |
Navigation
| Shortcut | Action |
|---|---|
Tab | Move to next panel/element |
Shift + Tab | Move to previous panel/element |
Tips
Quick Focus
Press / from anywhere to jump to the regex editor. This is the fastest way to start typing a new pattern.
Share Quickly
Cmd/Ctrl + Shift + C copies the full share URL to your clipboard without clicking any buttons. Perfect for quickly sharing patterns in chat or PRs.
Clear and Reset
Press Escape to clear any active selection or close open modals. Use the Reset button (or its shortcut if you've set one up in your browser) to clear all fields.
Browser Shortcuts
These standard browser shortcuts also work:
| Shortcut | Action |
|---|---|
Cmd/Ctrl + F | Browser find (in page) |
Cmd/Ctrl + R | Refresh page |
Cmd/Ctrl + L | Focus URL bar |
F5 | Refresh page |
Customization
RegexLens doesn't currently support custom keyboard shortcuts. If you need specific shortcuts, consider using a browser extension like:
- Vimium — Vim-style navigation
- Shortkeys — Custom keyboard shortcuts
- AutoHotkey (Windows) — System-wide shortcuts
Accessibility
All interactive elements are keyboard accessible:
- Tab through all buttons and inputs
- Enter or Space to activate buttons
- Arrow keys to navigate dropdowns
- Escape to close modals and dropdowns
Mobile
On mobile devices, keyboard shortcuts are not available. Use the touch interface instead:
- Tap to focus editors
- Use the on-screen buttons
- Long-press for copy/paste menus