Community Patterns

Community Library Entry

3

Regular Expression
Created·2021-12-14 21:41
Flavor·Java

"
(?<=(^#)\s).*
"
gm
Open regex in editor

Description

Parses the text following a '#' and a space all the way up to the next return character. Additional #'s can be added for parsing of other type of headings!

Submitted by Hansen