結果 : python replace substring if exists