Regular Expressions 101

Community Patterns

7

rsyslog test

PCRE (PHP <7.3)
global modifier
Submitted by dtmland - 9 years ago
23

userName

PCRE (PHP <7.3)
1-15 alphanumeric login name
Submitted by gsanchezc - 8 years ago
36

http://

PCRE (PHP <7.3)
no description available
Submitted by Mitus M. - 10 years ago
18

Email validation

PCRE (PHP <7.3)
no description available
Submitted by tutsplus.com - 9 years ago
16

Alphanumeric Regex

PCRE (PHP <7.3)
no description available
Submitted by Deepan - 8 years 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