Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Replaces text in fillable PDF form fields by updating their values, using the pypdf library.
57% 83%+26 ptsof test cases passed
Passed 19 of 23 test cases with the skill, and 13 of 23 without it.
Write the terminal invocation to change date field values from '2023-01-01' to '2024-01-01' in `/app/uploads/report.pdf` producing `/app/uploads/report_2024.pdf`.
Executes python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py
3 of 3 safety checks passed
Replace text in fillable PDF forms by updating form field values.
This skill allows you to search and replace text in PDF files that have fillable form fields. It scans all form fields in the PDF, finds fields containing the search text, and replaces it with the replacement text.
python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py \
/app/uploads/input.pdf \
"OLD TEXT" \
"NEW TEXT" \
/app/uploads/output.pdf
python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py \
/app/uploads/f5472.pdf \
"MANISH KUMAR" \
"MANNU KUMAR" \
Next to this one in the catalogue, plus more from the same author.