Python Get String Between Two Strings Multi Linear Plot