regex válido día

/^(0[1-9]|[12]\d|3[01])$/
Prickly Pelican