Regex Cheatsheet
Searchable reference for regex tokens, quantifiers, groups, lookarounds, and flags.
| . | Any char except newline |
| \d | Digit [0-9] |
| \D | Non-digit |
| \w | Word char [A-Za-z0-9_] |
| \W | Non-word char |
| \s | Whitespace |
| \S | Non-whitespace |
| [abc] | Any of a, b, c |
| [^abc] | None of a, b, c |
| [a-z] | Range a to z |
| ^ | Start of string / line |
| $ | End of string / line |
| \b | Word boundary |
| \B | Non-word boundary |
| * | 0 or more |
| + | 1 or more |
| ? | 0 or 1 |
| {n} | Exactly n |
| {n,} | n or more |
| {n,m} | Between n and m |
| *? | Lazy 0 or more |
| (abc) | Capture group |
| (?:abc) | Non-capturing group |
| (?<name>abc) | Named group |
| a|b | a or b |
| \1 | Backreference to group 1 |
| (?=abc) | Positive lookahead |
| (?!abc) | Negative lookahead |
| (?<=abc) | Positive lookbehind |
| (?<!abc) | Negative lookbehind |
| g | Global |
| i | Case-insensitive |
| m | Multiline |
| s | Dotall |
| u | Unicode |
| y | Sticky |
How to use Regex Cheatsheet
- 1Open Regex Cheatsheet
Open the regex cheatsheet on Easutil — there is nothing to install and no account to create.
- 2Add your input
Paste or type your code or payload into the input area, or adjust the options shown above the result.
- 3Review the output
Regex Cheatsheet updates the formatted result instantly as you type, so you can iterate without pressing a button.
- 4Copy or download
Use the Copy button to grab the result, or download it where a file export is offered.
Common use cases
- Quickly process your code or payload while debugging
- Share a clean, readable result with a teammate
- Avoid pasting sensitive data into an unknown online service
Regex Cheatsheet FAQ
Is Regex Cheatsheet free to use?
Yes. Regex Cheatsheet is completely free on Easutil, with no signup, no usage limits and no watermarks.
Is my data private when I use Regex Cheatsheet?
Yes. Regex Cheatsheet runs entirely in your browser using JavaScript — your input is never uploaded to a server or stored anywhere.
Do I need to install anything to use Regex Cheatsheet?
No. It works in any modern browser on desktop and mobile — Chrome, Firefox, Safari and Edge.
Does Regex Cheatsheet work offline?
Once the page has loaded, regex cheatsheet keeps working without a network connection because all the processing happens client-side.
Looking for something similar? Browse all developer tools on Easutil →