Python Replace String Between Two Strings For Dreadlocks