Link Search Menu Expand Document

How to parse text from the last page

To exclusively extract text from the last page, follow these simple steps using the Rectangle Field Selection object:

  1. Access the Document Parser Template Editor by visiting https://app.pdf.co/document-parser/templates/new.
  2. Click on the Add Object option and choose `Add FIELD from Rectangle Selection”.
  3. Locate and click the “Edit Raw Template” button.
  4. Find the pageIndex parameter and modify its value to -2.

By setting the pageIndex value to -2, you ensure that only the text from the last page will be parsed.

image