Regular Expressions 101

Community Patterns

0

Get h1-6 tag

.NET (C#)
(.*?)
Submitted by OlegBel - 8 months ago
0

USD

.NET (C#)
USD
Submitted by anonymous - 8 months ago
0

for killerswim

.NET (C#)
a
Submitted by anonymous - 4 months ago

Markdown link

1

Regular Expression
.NET (C#)

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

Description

Loading markdown...
Submitted by anonymous - a year ago