Batch Find and Replace in PDF [duplicate]
I need to "find and replace" text in a PDF file on OS X Yosemite.
It would be better if there was a "replace all" feature. How can I do this on OS X?
Solution 1:
As Tom Gewecke mentioned in a comment, Adobe Acrobat can do this.
I was also able to do this with PDFpen, as also suggested by Tom Gewecke.
Both apps seem great. Since both of them are quite pricey, though, I would also like to share a way to do this with the free and open source software LibreOffice.
- Open the PDF with LibreOffice.
- Click Edit in the panel, then Find & Replace.... Use the feature as desired.
- Click File in the panel, then select Export as PDF.... Save the PDF.
I suspect LibreOffice probably decodes and re-encodes the document. But in my case the new document looked precisely identical to the original (except for the edits, of course.)