Regex pour le mois

// It will allow only 1,2,3,4,5,6,7,8,9,01,02,03,04,05,06,07,08,09,10,11,12

/(^[1-9]$)|(^[0-1][1-2]$)|(^0[1-9]$)/ 
Raviraj Solanki