結果 : python remove substring if exists