Im trying to preg_replace this date 03-Sep-2012 into 2012-03-Sep Please point me into right direction Thanks