Extract Specific text from (Get OCR Text)

Hi All,

il try to explain this as best as I can, I am extracting off of a PDF document However I only want to extract the Company name, Sounds Easy enough however the PDF is not Structured correctly so I have to use (Get OCR text)

This is the area I extract from


and this is what I get back from the scrape


I only wish to Extract Everything in the first line before the Line Break, because that always contains the client name

whatever is coming in that variable just split it
OCRVarible.Split(vbcrlf)(0) : here 0 for first line

1 Like

thank you so much, it worked

please mark it as solution!1
Happy Automation

1 Like

Thanks !

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.