Python Replace Substring By String Instruments