Regular Expressions 101

Sponsors

Library entries

3
pcre

Alternative Capture Country Codes

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

RegExp black list example usage

no description available
Submitted by Vadim Markovtsev - 8 years ago
5
pcre

relative to absolute

relative to absolute
Submitted by xp_prg - 8 years ago
1
pcre

testing for a bloke

Parsing html with regex is bad though.
Submitted by Iroh - 8 years ago
1
pcre

deine regex

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

Regex to get video ID from Youtube links

no description available
Submitted by anonymous - 8 years ago
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

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