Niranjan_k
(Niranjan k)
December 22, 2023, 7:05pm
1
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
Anil_G
(Anil Gorthi)
December 23, 2023, 1:52am
2
@Niranjan_k
How are you searching for it…basically
Cheers
vrdabberu
(Varunraj)
December 23, 2023, 1:58am
3
Hi @Niranjan_k
Can you provide screenshot of the pdf and how to want to search.
Regards
Niranjan_k
(Niranjan k)
December 23, 2023, 6:30pm
4
@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
Niranjan_k
(Niranjan k)
December 23, 2023, 6:32pm
5
@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.
Anil_G
(Anil Gorthi)
December 23, 2023, 7:09pm
6
@Niranjan_k
Yes it would always gove the first macth
.ToString("Return")
is not needed
Cheers
1 Like
Vikas_M
(Vikas M)
December 23, 2023, 7:25pm
7
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
Niranjan_k
(Niranjan k)
December 25, 2023, 4:21pm
8
@Vikas_M thank you i got the expected results with the solution provided
1 Like
system
(system)
Closed
December 28, 2023, 4:22pm
9
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.