Regular Expressions 101

Sponsors

Library entries

0
pcre2

CEP Regex Brazil

Regex para validação de CEP
Submitted by Jasmini Santos - 12 hours ago
0
pcre2

id_name_fb

get id, name from fb link
Submitted by anonymous - 3 days ago
0
pcre2

basic email validation

Basic email regex for quick validation
Submitted by bUxEE - 3 days ago
0
javascript

itemku regex youtube

sdfsdfsdf
Submitted by anonymous - 3 days ago
0
pcre2

RTDM_Thread_Pool

RTDM_Thread_Pool
Submitted by anonymous - 3 days ago

regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS

Vote

0

Regular Expression
pcre2

/
(^((\d{4}-(((0[13578]|[1][02])-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|[1][1])-(0[1-9]|[1-2]\d|[3][0])))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?([+-][0-2]\d:[0-5]\d)$)
/
gm

Description

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