Regular Expressions 101

Sponsors

Library entries

0
pcre2

DTM Validation

DTM Validation
Submitted by Mike Cheel - 16 hours ago
0
pcre2

iamge url

all image url in in content
Submitted by farhad rohani - a day ago
0
python

SoundsExtract

extract sounds
Submitted by anonymous - a day ago
0
javascript

Minecraft Log Parser 1.0

Improvements needed
Submitted by Crystal - a day ago
0
pcre2

等等

方法
Submitted by anonymous - 2 days ago
0
pcre2

Data URL

Parsing of Data URLs
Submitted by anonymous - 4 days ago
0
pcre2

Phone of 10 and 11 digits

Phone validation
Submitted by anonymous - 4 days ago

Python version (PEP440)

Vote

0

Regular Expression
pcre

/
^[Pp]ython v?(?:(?:(?<epoch>[0-9]+)!)?(?<release>[0-9]+(?:\.[0-9]+)*)(?<pre>[-_\.]?(?<preLabel>(a|b|c|rc|alpha|beta|pre|preview))[-_\.]?(?<preNumber>[0-9]+)?)?(?<post>(?:-(?<postNumber0>[0-9]+))|(?:[-_\.]?(?<postLabel>post|rev|r)[-_\.]?(?<postNumber1>[0-9]+)?))?(?<dev>[-_\.]?(?<devLabel>dev)[-_\.]?(?<devNumber>[0-9]+)?)?)(?:\+(?<local>[a-z0-9]+(?:[-_\.][a-z0-9]+)*))?$
/
gm

Description

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