Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

3

Regular Expression
ECMAScript (JavaScript)

/
(<=\s|^)###(.*?)$
/
gim

Description

Get all headings in a Markdown Format Text

Submitted by Ferdinand Dimas - 9 years ago