Regex memo

Regex memo - free online tool.

Enable JavaScript to use the interactive tool. The guide below explains how it works.

Regex Cheatsheet

What it does

The Regex Cheatsheet is a quick-reference guide for JavaScript Regular Expressions (RegExp). It organizes complex regex syntax into readable tables, covering everything from basic character matching and quantifiers to advanced concepts like lookaheads, backreferences, and capturing groups.

Why someone uses it

Step-by-step instructions

  1. Browse Categories: The guide is divided into logical sections like "Normal characters", "Quantifiers", and "Boundaries".
  2. Identify Syntax: Find the pattern you need in the left column of the table.
  3. Verify Behavior: Read the description on the right to ensure it matches your intended logic.
  4. Implementation: Copy the pattern into your JavaScript code or use it in the Regex Tester tool to verify it against your specific data.

Examples

FAQs

Common mistakes

Use cases

Related tools

All tools

Guides and articles