Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Markdown
#markdown
#blockquote
#quote
#citation

Markdown Blockquote

Matches a Markdown blockquote line beginning with > and captures the quoted text.

Markdown parsersEmail reply strippingForum post rendering
/
/
Safe
Test String
3 matches
^^^ — start of string (or line in multiline mode)
>+>'>' — literal character — repeated one or more times (greedy) · + — one or more times (greedy)
\s?space\s — whitespace (space, tab, newline…) — repeated zero or one time (optional) · ? — zero or one time (optional)
(…)Group #1Capturing group — captures matched text for reuse or extraction
.+.. — matches any character except newline (unless 's' flag is set) — repeated one or more times (greedy) · + — one or more times (greedy)
$$$ — end of string (or line in multiline mode)
Pattern: 11 charsInput: 62 chars
100% client-side · private

Valid Examples

  • > This is a quote
  • >> Nested quote
  • > Multi-word blockquote text

Invalid Examples

  • Not a quote
  • => arrow
  • >no space

Usage & Integration

Validate Markdown Blockquote natively in your backend or frontend without copying regex strings.

Node / Edge

import { validate } from '@regexto/validators';

validate('markdown-blockquote', '...');

Python

from regexto_validators import validate

validate("markdown-blockquote", "...")

Go

import "github.com/regex-to/validators-go"

valid, err := validators.Validate("markdown-blockquote", "...")

PHP

use RegexTo\Validators\Validator;

Validator::validate('markdown-blockquote', '...');

Rust

use regexto_validators::validate;

let is_valid = validate("markdown-blockquote", "...").unwrap();