Regex Cheatsheet & Tester
Reference table of regex syntax with an inline live tester.
A printable-style reference for regex anchors, character classes, quantifiers, groups, alternation, lookarounds and flags β paired with a live tester that highlights matches as you type. Great as a learning aid or a quick reminder.
Common use cases
- Look up an unfamiliar regex token without leaving the page
- Test a one-liner pattern alongside the syntax reference
- Onboard a teammate to regex with a single self-contained page
- Review JavaScript regex flags before debugging a tricky match
Frequently asked questions
Which regex flavour does it cover?βΎ
JavaScript regex (the same engine your browser uses). Most syntax overlaps with Python, Java and Go regex but lookbehinds, named groups and \p{...} have minor differences.
Can it explain a regex?βΎ
Not yet β for full expression breakdowns try a tool like regex101. The cheatsheet helps you read individual tokens.
Are flags listed?βΎ
Yes β gimsuy in the Flags section, with a short description of each.
Related tools
{}
JSON Formatter & Validator
Beautify, validate and minify JSON instantly in your browser.
β
JSON β CSV Converter
Convert JSON arrays to CSV and CSV back to JSON.
B64
Base64 Encoder & Decoder
Encode and decode Base64 strings, including UTF-8 and binary.
%
URL Encoder & Decoder
Percent-encode and decode URL components safely.