PDF Key Word search

Hi All,

I have PDF file while keyword search if name found twice in PDF file, How to refer first found name.

ex: search key word is “Return”, found in page 7 and again same name found in page 15, i would like to refer page 7.

Thanks in Adavance,
Niranjan

@Niranjan_k

How are you searching for it…basically

Cheers

Hi @Niranjan_k

Can you provide screenshot of the pdf and how to want to search.

Regards

@Anil_U using Regex match functionality .
I got page 7 and 15 found based on keyword word search. I would like to go the page 7.

Ex…Variable. First().value.tostring(“Return”)

Will this function refer to page 7 as first key word found in page 7

@vrdabberu while I’m doing key word search I got two pages 7 and 15. But I would like to go the page 7. As the requirement I have to get the data from first name found page.

@Niranjan_k

Yes it would always gove the first macth

.ToString("Return") is not needed

Cheers

1 Like

Hey @Niranjan_k ,

Check below file
i have replicated your scenario
The output will be
keywords present in what number of pages
and also, the first occurrence of the keyword

First_occurence_pdf.zip (41.5 KB)

Hope it helps you!

1 Like

@Vikas_M thank you i got the expected results with the solution provided

1 Like

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