regexp on pdf files

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
whytea
Member
Member
Posts: 135
Joined: 2006-02-18, 11:58 UTC

regexp on pdf files

Post by *whytea »

Has anyone tried regexp on pdf files? It doesn't seem to work.

How does TotalCmd search through pdf files? By converting them to text files and then perform the search?

/Y.T.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

PDF files usually don't contain any plain text. You will need to use a plugin like xPDFSearch:
http://www.totalcmd.net/plugring/xPDFSearch.html
Author of Total Commander
https://www.ghisler.com
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

But no plugin will work if PDF doesn't contain text layer but only text as graphics.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50923
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

That's true, if the file was scanned as an image, it will not work. But PDFs created via "Print to PDF" or converted from documents can be searched.
Author of Total Commander
https://www.ghisler.com
Post Reply