They felt it was necessary to expurgate his letters before publishing them.

the newspaper had to expurgate the expletive-laden speech that the criminal made upon being sentenced to life imprisonment