Regular Expressions 101

Community Patterns

1

extract url

PCRE2 (PHP >=7.3)
extract url
Submitted by anonymous - 23 days ago
1

XC410

PCRE2 (PHP >=7.3)
QS
Submitted by anonymous - a month ago
1

check csv content

PCRE2 (PHP >=7.3)
a
Submitted by abc - a month ago

Semantic Version (semver)

0

Regular Expression
.NET 7.0 (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 - a year ago