redacting

verb
  1. editing or revising a text for publication
  2. Usage: formal
  3. censoring or removing sensitive information from a document
  4. Usage: legal; government

Examples