Python Get String Between Two Strings Multi Linear Model