Regular Expressions 101

Sponsors

Library entries

0
javascript

Password

Password regular expression
Submitted by AhbapAldırma - 5 hours ago
0
javascript

Certificate

Certificate
Submitted by anonymous - 11 hours ago
1
python

Parse Data Fields

Parsing example
Submitted by anonymous - a day ago
0
javascript

rwd

rwd
Submitted by anonymous - a day ago
0
javascript

Cbre bookingid

a
Submitted by anonymous - 2 days 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 - 3 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

ISO 8601 date time validation

Vote

0

Regular Expression
pcre2

/
^(?:[\+-]?\d{4}(?!\d{2}\b))(?:(-?)(?:(?:0[1-9]|1[0-2])(?:\1(?:[12]\d|0[1-9]|3[01]))?|W(?:[0-4]\d|5[0-2])(?:-?[1-7])?|(?:00[1-9]|0[1-9]\d|[12]\d{2}|3(?:[0-5]\d|6[1-6])))(?:[T\s](?:(?:(?:[01]\d|2[0-3])(?:(:?)[0-5]\d)?|24\:?00)(?:[\.,]\d+(?!:))?)?(?:\2[0-5]\d(?:[\.,]\d+)?)?(?:[zZ]|(?:[\+-])(?:[01]\d|2[0-3]):?(?:[0-5]\d)?)?)?)?$
/
gm

Description

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