Question
Extracting pages from PDF based on search results using javascript in Acrobat
- November 18, 2019
- 2 replies
- 1651 views
I have a file that has serveral pages. At random intervals there are pages that have the words "PageBreak". Looking for a script that will search my file from the begining for the "PageBreak" then extract all pages before and including the pagebbreak, then continue through the rest of the file repeating that same process until all pages have been extracted to new files. I have attached a file.
On the file pages 1 and 2 would be extracted to a new file, then pages 3-5 would be extracted to another new file and so on. can anyone help?
I have looked through the community board and did not find anything that can help me with this.
