Hello,
I am testing your tool with our pdf.
The tool finds the text but the output is wrong.
Is there a way how i can send you a sample and you can tell me where the problem is.
Customer
------------------------------
Find and Replace all in a PDF File.
Hi Experts,
Is there a way to Find and Replace a particular Text / Phrase in an unprotected PDF Document while keeping everything else intact and save the file in PDF? Also is it possible to perform Wild Card Character like search in any such document?
Regards
Customer
------------------------------
I have a 33 page pdf which has 2500 instances of the word "XYZ". I want to replace all XYZ with ABC. How can I do that?
Customer
------------------------------
Thanks for your message, we suggest you may use VeryPDF PDF Text Replacer Command Line to instead of VeryPDF PDF Text Replacer GUI version to try again, you may download VeryPDF PDF Text Replacer Command Line from this web page to try,
https://www.verypdf.com/app/pdf-text-replacer/search-and-replace-pdf-text-command-line.html
https://www.verypdf.com/dl2.php/pdftextreplacer_cmd.zip
after you download and unzip it to a folder, you may run following command line to replace text in your PDF file,
pdftr.exe -searchandoverlaytext "WUNSCHNAME=>VeryPDF" -overlaybgcolor FF7991 -overlaytextcolor FFFFFF -overlaytextfontname "Calibri" D:\downloads\BP_009.pdf D:\downloads\BP_009-out.pdf
You can change the font name, text color and background color by yourself in above command line.
Please refer to following screenshots for text replacing in PDF file,
You can also run following command lines to batch replace all text contents in all of your PDF files in a folder and it's sub-directories recursively,
for %F in (D:\temp\*.pdf) do pdftr.exe -contentreplace "My Name=>Your Name" "%F" "out_%~nF.pdf"
for %F in (D:\temp\*.pdf) do pdftr.exe -searchandoverlaytext "My Name=>Your Name" "%F" "C:\test\%~nF.pdf"
for /r D:\temp %F in (*.pdf) do pdftr.exe -oldtext "Old Text" -newtext "New Text" "%F" "C:\test\%~nF.pdf"
for /r Folder1 %F in (*.pdf) do pdftr.exe -nopdf -$ "XXXX-XXXX-XXXX-XXXX" -searchandoverlaytext "My Name=>Alan Grant||Mailed=>Nailed" -overlaytextfontsize 10 "%F" "Folder2\%~nF_Out_Unmerged.pdf"
VeryPDF
See Also:
- How to replace text in PDF file with Embedded Subset Fonts?https://www.verypdf.com/wordpress/201701/how-to-replace-text-in-pdf-file-with-embedded-subset-fonts-43285.html
- [VeryPDF Release Notes] VeryPDF has released a new version of PDF Text Replacer Command Line software today
https://www.verypdf.com/wordpress/201701/verypdf-release-notes-verypdf-has-released-a-new-version-of-pdf-text-replacer-command-line-software-today-43227.html - VeryPDF PDF Text Replacer is a very simple, lightning-quick desktop utility program that lets you batch replace, change or delete multiples text in Acrobat PDF files automatically.
https://www.verypdf.com/wordpress/201608/verypdf-pdf-text-replacer-is-a-very-simple-lightning-quick-desktop-utility-program-that-lets-you-batch-replace-change-or-delete-multiples-text-in-acrobat-pdf-files-automatically-42877.html