Python Get String Between Two Strings For Dreadlocks