Skip to main content
Participant
July 26, 2022
Question

find paragraph in pdf or find multi line in the pdf using javascript

  • July 26, 2022
  • 1 reply
  • 1754 views

hey guys ,

i want to search paragraph in pdf using ctrl+f/ using  find field.but the problem is that i cant able to find paragragh/multi line in the pdf. Is there any way to find paragraph using javascript or is there any way to increase character limit in find field. please let me know the solutions/ideas.

1 reply

try67
Community Expert
Community Expert
July 26, 2022

Your question is not very clear. Do you want to search the text using a script, or using the built-in Search command? Either way, you can't limit it to a paragraph, as there's no such concept in a PDF file.

If you use a script you might be able to detect where one paragraph ends and another begins, but it's quite complicated to implement and you're probably going to get some false results.

Participant
July 26, 2022

i would like to select the paragraph in the pdf , so i need to know if there is way to search paragraph through javascript in the adobe.

try67
Community Expert
Community Expert
July 26, 2022

I don't think this will be possible.