Regular Expressions 101

Sponsors

Library entries

2
pcre

Matches first word

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

aliexpres

test z wyrażeniem regularnym
Submitted by diox - 8 years ago
0
pcre

hhh

Fghh
Submitted by ggj - 8 years ago
0
pcre

Jeny

132
Submitted by Renderlife - 8 years ago
1
pcre

Numer telefonu

no description available
Submitted by p.borecki - 8 years ago
1
pcre

Numer telefonu

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

Arabic example

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

aaa

vvv
Submitted by anonymous - 8 years ago
1
pcre

overlapping regex, small test

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

test

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

test

test
Submitted by anonymous - 8 years ago
0
pcre

Match youtube id

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

Get Itunes ID

Get itunes id from url
Submitted by sendypw - 8 years ago
1
pcre

Email validation

because everything else is too strict
Submitted by anonymous - 8 years ago
1
pcre

rvewr

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