Regular Expressions 101

Community Patterns

0

for killerswim

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

test

ECMAScript (JavaScript)
test
Submitted by anonymous - 4 months ago

Semantic Version (semver)

0

Regular Expression
.NET (C#)

@"
^(?<major>0|[1-9]\d*)\.(?<minor>0|[1-9]\d*)\.(?<patch>0|[1-9]\d*)(?:-(?<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$
"
gm

Description

Loading markdown...
Submitted by semver.org,Jeff Jacobson - 10 months ago