redaction
The action ... of censoring a document by removing or blacking out certain words or passages prior to publication or release, especially for legal, security, or confidentiality purposes.
redaction is part of the Legal Editing editor test terminology.