redact

verb
  1. to edit or revise a text for publication
  2. Usage: formal
  3. to remove or obscure sensitive information from a document before release

Examples