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:
- Access the Document Parser Template Editor by visiting https://app.pdf.co/document-parser/templates/new.
- Click on the
Add Object
option and choose `Add FIELD from Rectangle Selection". - Locate and click the "Edit Raw Template" button.
- 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.