Programmatically find certain text, words, phrases in PDF documents with case sensitivity and RegEx in Java. Replace or hide the text to redact PDF files....Programmatically find certain text, words, phrases in PDF documents with case sensitivity and RegEx in Java. Replace or hide the text to redact PDF files.