Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocsChangelog
Web
#markdown
#link
#url
#text

Markdown Link

Matches a Markdown hyperlink in [text](url) format and captures both the link text and URL.

✓ Markdown parsers✓ Documentation tools✓ Content editors
/
/
Safe
Test String
3 matches
\[\[— \[ — escaped character '['
(…)Group #1— Capturing group — captures matched text for reuse or extraction
[…]+Negated class [^…]— Matches any single character NOT listed in this set — repeated one or more times (greedy) · + — one or more times (greedy)
\]\]— \] — escaped character ']'
\(\(— \( — escaped character '('
(…)Group #2— Capturing group — captures matched text for reuse or extraction
[…]+Negated class [^…]— Matches any single character NOT listed in this set — repeated one or more times (greedy) · + — one or more times (greedy)
\)\)— \) — escaped character ')'
Pattern: 23 charsInput: 76 chars
100% client-side · private

✓ Valid Examples

  • [regex.to](https://regex.to)
  • [Click here](https://example.com)
  • [Docs](/docs)

✗ Invalid Examples

  • [nourl]
  • (no-brackets)https://example.com
  • [](https://example.com)

Usage & Integration

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

Node / Edge

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

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

Python

from regexto_validators import validate

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

Go

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

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

PHP

use RegexTo\Validators\Validator;

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

Rust

use regexto_validators::validate;

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