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.
search-regex
replace-str
CAM::PDF
changepdfstring.pl
See CAM::PDF
To install CAM::PDF, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CAM::PDF
CPAN shell
perl -MCPAN -e shell install CAM::PDF
For more information on module installation, please visit the detailed CPAN module installation guide.