PDF table data extract between two strings

Hi All,

How to extract table data from pdf file between two strings like using two names

Regards
Niranjan

@Niranjan_k

Duplicate

cheers

@Anil_G I’m looking to export table data between two strings.

@Niranjan_k

try this its help you i think so

 tableData As String = If(pdfText.Contains("StartString") AndAlso pdfText.Contains("EndString"), _
                               pdfText.Substring(pdfText.IndexOf("StartString") + "StartString".Length, _
                               pdfText.IndexOf("EndString") - pdfText.IndexOf("StartString") - "StartString".Length).Trim(), "")

cheers…!

@Niranjan_k

The same is provided above

cheers

@sai_gupta Actaully I’m using data scrapping to extract the table details it is not table data when table details in multiple pages. Any way to fix this. One thought I got is t possible to extract table with two strings characters using any loop function. Suggestions please