bowdlerizing

/B OW1 D AH0 L ER0 AY0 Z IH0 NG/
verb
  1. 1

    To remove or alter those parts of a text considered offensive, vulgar, or otherwise unseemly.

    โ€œThe bowdlerized version of the novel, while free of vulgarity, was also free of flavor.โ€

Source: https://en.wiktionary.org/wiki/bowdlerize, https://en.wiktionary.org/wiki/bowdlerizing