To remove parts of a piece of writing that are considered likely to cause offence: The book was expurgated to make it suitable for children.
Source: https://dictionary.cambridge.org/dictionary/english/expurgate
(✂︎ From the ongoing #JoDoesPhD words I googled this week series)