Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Created·2021-12-19 09:18
Updated·2022-03-18 16:17
Flavor·JavaScript

/
^---([\s\S]*?)---[\n\s\S]\n
/
g
Open regex in editor

Description

Parse header and body from hexo markdown post format

Submitted by anonymous