Regex Pack: Markdown and Documents
A 1-page snippet pack for processing Markdown and plain documents: 10 short entries with copy-ready code.
ForDevelopers
// ATX headings
const pattern = /^(#{1,6})\s+(.+)$/m;
pattern.test("# Title"); // true
// Bold text
const pattern = /\*\*([^*]+)\*\*/;
pattern.test("this is **bold** text"); // true
// Inline code
const pattern = /`([^`]+)`/;What's inside
- Format
- PDF, Markdown, JS
- Contents
- 10 patterns
- Version
- 1.0 · Updated 3 Oct 2026
- Licence
- Commercial What this means
- Checked
- Checked before it ships
- regex-pack-markdown-and-docs.pdfPDF · 18 KB
- regex-pack-markdown-and-docs.mdMarkdown · 1 KB
- regex-pack-markdown-and-docs.jsJS · 731 B
- LICENSE.txtadded to every download
About this item
A compact, printable snippet pack for processing Markdown and plain documents. Each of the 10 entries has a one-line explanation and a small example you can paste into your editor. The PDF uses a two-column A4 layout designed to sit next to your keyboard, and the same content ships as Markdown so you can search it or drop it into your notes, plus a JavaScript module that exports every pattern. Every JavaScript example targets ES2023.
Reviews
No reviews yet.