Regular Expressions 101

Sponsors

Library entries

1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 7 hours ago
0
javascript

rwd

rwd
Submitted by anonymous - 18 hours ago
0
javascript

Cbre bookingid

a
Submitted by anonymous - a day ago
0
pcre

get arrays from Json

get arrays from Json
Submitted by fawaz - 2 days ago
0
pcre2

Match CamelCase

Matches PascalCase or CamelCase
Submitted by anonymous - 2 days ago
0
pcre2

nr_classe

separação de um código numérico simples
Submitted by anonymous - 3 days ago
0
python

month with year extraction

ready code
Submitted by anonymous - 3 days ago
0
pcre2

General regular expressions

General
Submitted by Stavros - 3 days ago
0
pcre2

Database_Data_Type

DatabaseDataType
Submitted by anonymous - 3 days ago

PEP440 version

Vote

0

Regular Expression
pcre

/
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