Parse a Multi-paged Table – Step-by-Step Guide
- Go to PDF.co Document Parser Page
- Create a New Template
- Load Source PDF
- Add Object
- Set Expressions and Properties for Objects
- Run Template
- Result
- Save Template
Once this step-by-step tutorial with screenshot is over, you will learn how to parse a multi-paged table using PDF.co’s Document Parser.
We have here a sample PDF that has a multi-paged table:

First, log in to your PDF.co account here.
Step 1 – Go to PDF.co Document Parser Page
- On your dashboard, go to the Document Parser page by clicking the Document Parser menu
Step 2 – Create a New Template
- Once you’re already on your Document Parser page, click New Template to start creating a template
Step 3 – Load Source PDF
- Load the PDF or Image file that you’re going to use for creating the template
Step 4 – Add Object
- To get the Total, select Add FIELD based on TEXT SEARCH object
- To get the Table Data, select Add TABLE field based on TEXT SEARCH object
Step 5 – Set Expressions and Properties for Objects
- To get the Total, set the Expression to
TOTAL{{Spaces}}({{Number}})
, make sure to check the Regex check box, and set the Data Type to Decimal or Currency - To get the Table Data, add the following properties:
-
{ "start": { "expression": "Item{{Spaces}}Description{{Spaces}}Price", "regex": true }, "end": { "expression": "TOTAL{{Spaces}}{{Number}}", "regex": true }, "row": { "expression": "{{LineStart}}{{Spaces}}(?<itemNo>{{Digits}}){{Spaces}}(?<description>{{SentenceWithSingleSpaces}}){{Spaces}}(?<price>{{Number}}){{Spaces}}(?<qty>{{Digits}}){{Spaces}}(?<extPrice>{{Number}})", "regex": true }, "columns": [ { "name": "itemNo", "dataType": "integer" }, { "name": "description", "dataType": "string" }, { "name": "price", "dataType": "decimal" }, { "name": "qty", "dataType": "integer" }, { "name": "extPrice", "dataType": "decimal" } ], "multipage": true }
-
Step 6 – Run Template
- After adding the objects you may now run the template
Step 7 – Result
- Here’s the result

Step 8 – Save Template
- Once you’re finished creating your template, you may now save it
You’ve learned how to parse a multi-paged table using PDF.co’s Document Parser through this tutorial.