Separate a PDF using a repeated heading
Choose a stable phrase and inspect the resulting ZIP parts.
Start with selectable text
Try selecting the heading in a PDF viewer. If the document is image-only, create a searchable copy first and check OCR accuracy. Visible words in an image are not automatically searchable text.
Choose a useful phrase
Enter a phrase such as INVOICE that appears at the start of each intended part. The current splitter matches literal text, optionally with case sensitivity and whole-phrase boundaries. It does not compare changing invoice-number values.
Understand the boundaries
With a cover on page 1 and matching headings on pages 2 and 4, the parts are page 1, pages 2–3, and page 4 onward. A match on page 1 alone does not create a boundary. A repeated header on every page may split too often.
Inspect the ZIP
Extract the downloaded archive. Check each part starts and ends correctly and that all source pages are accounted for. Try a different phrase if there is no boundary or too many parts.
Found this useful?
Help someone find it, or tell us what would make it better.
Only the public page link is shared.