Expurgate

meaning: to remove parts of a piece of writing that are considered likely to cause offence:

usage: The book was expurgated to make it suitable for children .