Regular Expressions 101

Sponsors

Library entries

2
pcre

donotbackup

finding directories w/ donotbackup
Submitted by anonymous - 8 years ago
1
pcre

Date range match

This is not my creation, it is from a github repor
Submitted by Saji N - 8 years ago
1
javascript

date validation

Validation for date 2013.12.24 14:50
Submitted by axelprog - 8 years ago
-2
javascript

Comma-separated numbers with ranges

no description available
Submitted by Eugene - 8 years ago
0
pcre

soap envelope regexp

no description available
Submitted by anonymous - 8 years ago
0
pcre

test123

no description available
Submitted by anonymous - 8 years ago
0
pcre

SickRage

no description available
Submitted by anonymous - 8 years ago
1
pcre

Un-titled

no description available
Submitted by anonymous - 8 years ago
1
pcre

Nada

no description available
Submitted by anonymous - 8 years ago
1
pcre

Post

no description available
Submitted by anonymous - 8 years ago

semver

Vote

2

Regular Expression
pcre

/
^(?'MAJOR'0|(?:[1-9]\d*))\.(?'MINOR'0|(?:[1-9]\d*))\.(?'PATCH'0|(?:[1-9]\d*))(?:-(?'prerelease'(?:0|(?:[1-9A-Za-z-][0-9A-Za-z-]*))(?:\.(?:0|(?:[1-9A-Za-z-][0-9A-Za-z-]*)))*))?(?:\+(?'build'(?:0|(?:[1-9A-Za-z-][0-9A-Za-z-]*))(?:\.(?:0|(?:[1-9A-Za-z-][0-9A-Za-z-]*)))*))?$
/
gm

Description

Loading markdown...
Submitted by @gvlx <Gerardo Lisboa> - 8 years ago