changepagestring.pl(1p)

changepagestring.pl1p

Search and replace in all pdf pages

Usage

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

Overview

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.

Author

See CAM::PDF

From libcam-pdf-perl 1.58-2 in Debian 7 (Wheezy). Parsed by carta from the page's man source.