Regular Expressions 101

Sponsors

Library entries

3
pcre

IPv4 Validator

no description available
Submitted by anonymous - 2 years ago
3
pcre2

Email

email format control
Submitted by ahmetbarut - a year ago
3
pcre2

example

example
Submitted by anonymous - a year ago
3
pcre

Get Nth value (3 times)

capture Nth character from string, 3 times
Submitted by K. - 9 years ago
3
pcre

UUID

no description available
Submitted by Jason - 8 years ago

Date Regex(DD/MM/yyyy)

Vote

18

Regular Expression
pcre

/
^(((0[1-9]|[12]\d|3[01])\/(0[13578]|1[02])\/((19|[2-9]\d)\d{2}))|((0[1-9]|[12]\d|30)\/(0[13456789]|1[012])\/((19|[2-9]\d)\d{2}))|((0[1-9]|1\d|2[0-8])\/02\/((19|[2-9]\d)\d{2}))|(29\/02\/((1[6-9]|[2-9]\d)(0[48]|[2468][048]|[13579][26])|((16|[2468][048]|[3579][26])00))))$
/
g

Description

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