Regular Expressions 101

Sponsors

Library entries

1
javascript

1

1
Submitted by anonymous - 7 months ago
1
python

Remove HTML tags and comments

Remove HTML tags and comments
Submitted by Smit Patel - 7 months ago
1
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - 4 months ago
1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 4 months ago
1
java

Rick Roll

Matches chorus of Never Going to Give You Up
Submitted by Stephen Battista - 4 months ago
1
python

ds100reg2

Data 100 Regular Expressions, adapted from Princeton
Submitted by anonymous - 4 months ago

SemVer chain parsing

Vote

3

Regular Expression
javascript

/
^((?:0|(?:[1-9]\d*)))\.((?:0|(?:[1-9]\d*)))\.((?:0|(?:[1-9]\d*)))(?:-([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?(?:\+([0-9A-Za-z-]+(\.[0-9A-Za-z-]+)*))?$
/
gm

Description

Loading markdown...
Submitted by anonymous - 7 years ago