Regular Expressions 101

Sponsors

Library entries

1
pcre

email validation

if you want to validate user mail
Submitted by amine.hallili@gmail.com - 7 years ago
1
pcre

validate 14,9 decimals

validate 14,9 decimals
Submitted by Ganey - 7 years ago
1
pcre

Find label tags without for attributes

no description available
Submitted by DevlshOne - 7 years ago
1
pcre

Giphy ID Regex

Get the ID from the multiple Giphy URLs
Submitted by anonymous - 7 years ago
1
pcre

.Net

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

header-tags

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

fasting range

Find fasting range in lab result text
Submitted by geoff - 7 years ago
1
pcre

result range

Find range in lab result text
Submitted by geoff - 7 years ago
1
pcre

bb-*

aaa
Submitted by wyj - 7 years ago
1
pcre

test

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

match url

no description available
Submitted by jakub - 7 years ago
1
pcre

before or equal to 12:35pm

no description available
Submitted by Brandon - 7 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