Python Create Regex From String To Timestamp