Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

0

Regular Expression
.NET 7.0 (C#)

@"
\[\[( # link, and optional anchor (?<link>[^\|\#\]]+)?(\#(?<anchor>[^\|\]]+))? # display title (optional) (\|(?<title>[^|\]]+))? # tooltip (optional) (\|(?<tooltip>[^|\]]+))? )\]\]
"
gxmn

Description

Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)

Submitted by Sakura Akeno Isayeki - 2 years ago (Last modified a year ago)