Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(?!smi)(\|[\s\S]*?)\|(?:\n\n)
/
gm

Description

Get a Match for every table in a markdown file.

Submitted by Matthias König - a year ago