Launching a SaaS?·Collect waitlist signups before you build — before.run
SandboxPatternsDetectDocs
Markdown
#markdown
#horizontal-rule
#hr
#divider

Markdown Horizontal Rule

Matches a Markdown horizontal rule — three or more dashes, asterisks, or underscores on a line.

Markdown parsersSection detectionDocument structure analysis
/
/
Test String
5 matches
^^^ — start of string (or line in multiline mode)
(…)Group #1Capturing group — captures matched text for reuse or extraction
[…]Character class […]Matches any single character listed in this set
\s*space\s — whitespace (space, tab, newline…) — repeated zero or more times (greedy) · * — zero or more times (greedy)
\1\1\1 — escaped character '1'
\s*space\s — whitespace (space, tab, newline…) — repeated zero or more times (greedy) · * — zero or more times (greedy)
\1\1\1 — escaped character '1'
[…]*Character class […]Matches any single character listed in this set — repeated zero or more times (greedy) · * — zero or more times (greedy)
\sspace\s — whitespace (space, tab, newline…)
\1\1\1 — escaped character
$$$ — end of string (or line in multiline mode)
Pattern: 26 charsInput: 23 chars
100% client-side · private

Valid Examples

  • ---
  • ***
  • ___
  • - - -
  • * * *

Invalid Examples

  • --
  • **
  • not a rule
  • --- text