You can use an invoke code where the input is the pdftext. Then in code:
Try
Dim rows As String() =input.Split(New String() {Environment.NewLine},StringSplitOptions.None)
Dim lineNr As Int32=0
Dim Name As String=String.Empty
Dim Designation As String=String.Empty
For Each row As String In rows
Console.WriteLine(row)
If row.Trim=“Emp Name:” Then
Name=rows(lineNr+1).ToString
Else If row.Trim=“Designation:” Then
Designation=rows(lineNr+1).ToString
End If
lineNr=lineNr+1
Next row
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try