Regular Expressions 101

Community Patterns

Extract markdown table from a markdown string

-1

Regular Expression
PCRE (PHP <7.3)

/
((\r?\n){2}|^)([^\r\n]*\|[^\r\n]*(\r?\n)?)+(?=(\r?\n){2}|$)
/
gm

Description

no description available

Submitted by anonymous - 5 years ago