Regular Expressions 101

Sponsors

Library entries

1
pcre

filter match

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

Test post by e-mail

Description here
Submitted by Arief - 8 years ago
1
pcre

transfer

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

Code Review

username
Submitted by Devon Parsons - 8 years ago
1
pcre

replace test

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

ZLNLB

Zero length negative lookbehind
Submitted by anonymous - 8 years ago
0
pcre

reference

no description available
Submitted by karthikeyan - 8 years ago
2
pcre

Extract Metadata

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

reference

reference pattern checking
Submitted by karthikeyan - 8 years ago
-2
pcre

regex demo

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

tr

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

UUID regex

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