How to extract text from image using OCR

Please find attached xaml file where i have fetched Fax Number, File# and Date from the PDF.
I have used RegularExpressions to fetch the data. You can also achieve the same using string manipulation as well.
You can use regex101: build, test, and debug regex and try different regular expression
and for string manipulation https://www.dotnetperls.com/string-vbnet

ScanedPDF.zip (23.2 KB)

3 Likes