Perform multiple str.replace() with one operation.