Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^<p>:{3}\s?([\S]+)?\s?([\S]+)?<\/p>\n([\s\S]+)\n<p>:{3}<\/p>$
/
gm

Description

Matching Markdown Custom Quote

Submitted by TriDiamond - 3 years ago