Parse Key-Value Fields from Echocardiogram Report using PDF.co Document Parser – Step-by-Step
- Go to PDF.co Document Parser
- Create a New Template
- Load Source PDF or Image File
- Add Object
- Set Expression and Data Type
- Run Template
- Result
- Save Template
In this step-by-step tutorial, we will show you how to parse key-value fields from echocardiogram reports using PDF.co Document Parser.
We have a sample echocardiogram here that we can use for this tutorial:

First, go to your PDF.co dashboard.
Step 1 – Go to PDF.co Document Parser
- On your PDF.co dashboard, click the Document Parser menu at the top of the page
Step 2 – Create a New Template
- To create a new template, click the New Template link
Step 3 – Load Source PDF or Image File
- Load the PDF or Image file that you’re going to use
Step 4 – Add Object
- To get the Key-Value Fields, select Add FIELD based on TEXT SEARCH object
Step 5 – Set Expression and Data Type
- Set Expression to,
(?<key>{{SentenceWithSingleSpaces}}): (?<value>{{SentenceWithSingleSpaces}})
to get the Key-Value Fields and set Data Type to String
Step 6 – Run Template
- After setting up the objects you may now run the template
Step 7 – Result
- Here’s the output

Step 8 – Save Template
- Once you’re done creating your template, go ahead and save it
You’ve learned how to parse key-value fields from echocardiogram reports using PDF.co Document Parser.