📜  python .replace multiple - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:57.286000             🧑  作者: Mango

代码示例2
var str = '[T] and [Z] but not [T] and [Z]';
var result = str.replace('T',' ').replace('Z','');
console.log(result);