Use the MDN regular expression cheat sheet to look up JavaScript RegExp syntax and related capabilities.

developer.mozilla.org/en-US/docs/Web/JavaScrip…
Regex Syntax Cheatsheet homepage screenshot

About Regex Syntax Cheatsheet

The Regex Syntax Cheatsheet is a reference page on MDN Web Docs for JavaScript regular expressions. It aggregates content from the articles in the RegExp guide into a single cheat sheet format. The page covers character classes and syntax used to match different kinds of characters in text.

You can use it to look up definitions and examples for patterns such as character ranges, negated classes, wildcards, digit and word escapes, whitespace escapes, and Unicode escapes. Each entry explains what the syntax matches and shows how it applies to sample strings. Headings link to the full guide articles for more information on a specific topic.

It suits web developers, students, and others who work with JavaScript RegExp patterns and need to check syntax while reading or writing code.

Key features

  • Aggregated reference of JavaScript RegExp syntax from guide articles
  • Character class definitions with matching examples
  • Covers digit, word, whitespace, and Unicode escapes
  • Heading links to full articles for more detail
Best for: People working with JavaScript regular expressions who need to check syntax while reading or writing code.
Good for
  • Single-page summary of RegExp guide content
  • Includes examples for each syntax entry
  • Links to detailed guide articles
Watch out for
  • Limited to JavaScript RegExp syntax

Regex Syntax Cheatsheet at a glance

Type
Website
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

Regex Syntax Cheatsheet alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 4 alternatives

Melody

yoav-lavi.github.io/melody/book

Write regular expressions in Melody, a language designed to make regex patterns more readable and maintainable.

cron-validator

github.com/GuillaumeRochat/cron-validator

An MIT-licensed JavaScript cron syntax validator with configurable grammar options.

FreeOpen source

Melody

github.com/yoav-lavi/melody

Compile readable Melody expressions into regular expressions with this language implementation.

Open source
16 alternatives

cron-parser

github.com/harrisiirak/cron-parser

An MIT-licensed JavaScript and TypeScript library for parsing cron expressions and calculating execution dates.

FreeOpen source
7 alternatives

Popular in Web Development

Well-known listings from the same topic.

All 122

Regex Syntax Cheatsheet FAQ

What is the MDN Regex Syntax Cheatsheet?
It is a single-page reference on MDN Web Docs that aggregates the JavaScript RegExp guide articles.
What syntax does the cheat sheet cover?
It covers character classes, escapes, wildcards, and related RegExp capabilities with examples.
Where can I find more detail on a topic?
Headings link to the full articles in the RegExp guide for more information.
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing