Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > General Discussion
  New Posts New Posts RSS Feed - Fastest way to search for text in PDF
  FAQ FAQ  Forum Search   Register Register  Login Login

Fastest way to search for text in PDF

 Post Reply Post Reply
Author
Message
cefegdev View Drop Down
Beginner
Beginner
Avatar

Joined: 15 Jun 19
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote cefegdev Quote  Post ReplyReply Direct Link To This Post Topic: Fastest way to search for text in PDF
    Posted: 15 Jun 19 at 1:44AM
Quick PDF Library v 16.x

What functions are available to search for a specific string of text within a multi-page PDF. The KB and 

Referenced guide do not seem to have any find text although it shows extract text from a whole page or block.
Back to Top
tfrost View Drop Down
Senior Member
Senior Member


Joined: 06 Sep 10
Location: UK
Status: Offline
Points: 255
Post Options Post Options   Thanks (1) Thanks(1)   Quote tfrost Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jun 19 at 10:49AM
It rather depends on why you want to find the text. I have an application which simply needs to extract some information from the first page to know how to process it. The simplest and quickest solution for me is to extract all the text on the page and run a couple of regular expression searches over it to find what I need. But if you wanted to know the precise position of the text you are looking for, so that you can highlight or modify it, the approach would need to be different.  But in principle the library will give you the text that can be identified as text, and it is up to you to process it.
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3029
Post Options Post Options   Thanks (1) Thanks(1)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 15 Jun 19 at 2:14PM
Hi,

do a loop page by page and use the options with csv-extraction and "word by word".
So you'll have the page and rectangle position.

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store