Regular Expressions 101

Community Patterns

1

url regex

PCRE2 (PHP >=7.3)
Submitted by - a year ago
1

iCal

PCRE2 (PHP >=7.3)
iCal parser
Submitted by Appenjel - a year ago
1

find text in html

PCRE2 (PHP >=7.3)
for tp
Submitted by anonymous - a year ago
1

find all url in <a> in html

PCRE2 (PHP >=7.3)
for tp
Submitted by anonymous - a year 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 - a year ago