How to find word position in pdf file

Hello, I am trying to find a specific word in pdf file and get information about this word’s position/location in order to calculate the distance between other keyword and if the position is less than a specified threshold I need to highlight all text between these two keywords. If anybody has any suggestions how I could go about it - would be great.

we can use IndexOf


for getting text sourrounded by 2 Keywords Regex can help:

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