Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
\[.+\]\(https?:\/\/.+\.\w{2,}\)
/
gm

Description

matches for any markdown Masked link

[text](https://example.com) detected [](https://example.com) not detected (not valid(on most platforms))

Submitted by yande - 4 months ago