Python Regex Find Substring Between Two Dates In Sql