
changepagestring.pl - Search and replace in all PDF pages

changepagestring.pl [options] infile.pdf search-regex replace-str [outfile.pdf] Options: -o --order preserve the internal PDF ordering for output -v --verbose print diagnostic messages -h --help verbose help message -V --version print CAM::PDF version

Searches through all pages of a PDF file for instances of search-regex and inserts replace-str. The regex should be a form that Perl understands. Note that this does not change the PDF metadata like forms and annotation. To change metadata, use instead changepdfstring.pl.

changepdfstring.pl

See CAM::PDF