Python Create Regex From String To Datetime