Description
It would be nice to be able to easily delete all occurrences of a word to be redacted, possibly even with regular expressions.
Implementation
Use PyMuPDF’s text extraction. See example of usage.
Pay attention to redaction of text in
- metadata (shouldn't be an issue as long it is sanitized away when saving)
- text in annotations
- text in widgets
- links (should probably removed fully?)
- PDF element IDs
- text in drawings?
Maybe nice additional features
- Support for regular expressions
- Pre-defined regular expressions for mail addresses, telephone numbers, URLs
## Description
It would be nice to be able to easily delete all occurrences of a word to be redacted, possibly even with regular expressions.
## Implementation
Use PyMuPDF’s text extraction. See [example of usage](https://github.com/HaidanP/PDF-Redactor).
Pay attention to redaction of text in
- [ ] metadata (shouldn't be an issue as long it is sanitized away when saving)
- [ ] text in annotations
- [ ] text in widgets
- [ ] links (should probably removed fully?)
- [ ] PDF element IDs
- [ ] text in drawings?
Maybe nice additional features
- [ ] Support for regular expressions
- [ ] Pre-defined regular expressions for mail addresses, telephone numbers, URLs