---
name: "changepagestring.pl"
section: "1p"
platform: "linux"
package: "libcam-pdf-perl"
version: "1.58-2"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/changepagestring.pl"
---

# changepagestring.pl(1p)

Search and replace in all PDF pages

## NAME

changepagestring.pl - Search and replace in all PDF pages

## SYNOPSIS

```
 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
```

## DESCRIPTION

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*.

## SEE ALSO

CAM::PDF

*changepdfstring.pl*

## AUTHOR

See CAM::PDF
