Python Regex Find Substring Between Two Dates Calculations Definition