substr($month,0,1,"0$month") if ($month<10 && $month!~/^0/); [download]
In reply to Re^3: Regular Expression by olivierp in thread Regular Expression by Anonymous Monk