Tag Archives: how to redact Word in Java

Find and Replace Words in Documents using Java

In one of the articles, we have already discussed how to redact in Word documents as a .NET developer. The strategy is used in many ways to erase sensitive content, hide or remove private information like email addresses or identification numbers. This article discusses how to redact Word, PDF, or other documents programmatically using Java. We will separately discuss how to find and replace the text, words, or phrases with different techniques using Java API for redaction.

The following topics are going to be covered in this article:

  • Java API for Replacing Text
  • Find & Replace Words or Phrase
  • Find & Replace Case-Sensitive Word or Phrase
  • Replace Text using Regular Expressions (RegEx)
  • Replace the Text with Colored Box
Posted in GroupDocs.Redaction Product Family | Tagged , , , ,