Scraping data from PDF Incorrectly using Get text or Anchor Base

In the above workflow, I have used Anchor Base: “Find element and Get text” activities. It is supposed to scrape the Invoice ID highlighted and instead, it shows the value as “Terms”. In the selector,I have given name as wildcard("*"). Also for customer ID,it is getting scraped incorrectly.
Tried “Get text”,“Get full text”, neither did work.
I also tried highlighting and it is validating as well.

Hello

How many digits is the invoice?

Have you considered using Regex?