Regular Expression Cheat Sheet
Runs 100% in your browser — your files never leave your device.
Regular expressions become manageable when the syntax is grouped by purpose instead of memorized as punctuation. Search a concise reference of character classes, boundaries, repetition, grouping, lookarounds, backreferences, and JavaScript-compatible flags, then copy any token.
How it works
- 1
Search a regex concept
- 2
Read the matching syntax
- 3
Copy the token or example
Related tools
HTTP Basic Auth Header Generator Generate a complete HTTP Basic Authorization header from a username and password, with Unicode-safe base64 encoding in your browser. Chmod Permissions Calculator Convert Unix read, write, and execute checkboxes into octal and symbolic permissions, or enter octal to update the matrix. Free and live. Cron Expression Validator & Explainer Validate five-field cron expressions and translate schedules into readable English using 24-hour time. Free, instant, and in-browser. Browser & Device Information Inspect screen, window, orientation, pixel ratio, languages, platform, CPU cores, online status, and User-Agent data from your browser. Docker Run to Compose Converter Convert a docker run command into Docker Compose YAML, including ports, volumes, environment variables, names, and common flags. Email Address Normalizer Online Normalize email addresses one per line for consistent comparison, including provider-specific casing, dots, and aliases. Free and private.
More developer tools
URL Encoder & Decoder Online Percent-encode text for safe use in URLs or decode escaped URL components back to readable text. Free, instant, and fully in-browser. HTML Entity Encoder & Decoder Escape HTML special characters or decode named, decimal, and hexadecimal entities back to text. Free, private, and browser-based. URL Parser & Query String Inspector Break a URL into protocol, credentials, host, port, path, query parameters, hash, and origin. Free, standards-based, and in-browser.