Regular Expressions 101

Library entries

Validate Birth Date (d/m/Y)

Vote

6

Regular Expression
pcre

/
^(0[1-9]|[1-2][0-9]|3[0-1])\/(0[1-9]|1[0-2])\/(\d{4})$
/
gm

Description

Loading markdown...
Submitted by Valdeir Santana - 6 years ago