I am trying to exact some specific data from a PDF file Using IUPath.
The data in PDF looks like this :
**** hjeprj3 **** James Fish **** JDR0929879 **** jdloin2 B5339 ||
I need to exact the name “James Fish”. It will always have the same format, always **** text **** first name last name **** text And I will always have to extract the name, which will be different.
I used this function : PDFText.Substring(PDFText.IndexOf("**** ",0)+15,16) but as the name will always be diferent it doesn’t return the correct value.
Can you kindly advise?
Thank you for your help