bowdlerize

Definition

To remove or modify parts of a text considered vulgar or objectionable, often excessively.

Example

"The classic novel was bowdlerized for the school edition, removing all controversial language."