Regular Expressions 101

Community Patterns

123...6

Markdown link

1

Regular Expression
.NET 7.0 (C#)

@"
(?:(?:\[(?<text>.*)\])(?:\((?<url>https?\:\/\/.*?)(?:\s\"(?<alt>.*?)\"\)|\)))|(?<text>(?<url>https?\:\/\/\S*)))
"
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago