Regular Expressions 101

Community Patterns

匹配代码块

0

Regular Expression
PCRE2 (PHP >=7.3)

/
^```\w+\n(.*?\n)+?```(?!`)
/
gm

Description

Loading markdown...
Submitted by anonymous - 9 months ago