22

I would like a PDF viewer that I can search documents with using regular expressions. Is there such a thing? I've tried PowerGrep, but it doesn't have a graphical viewer and its interface is a little heavy for my users.

Thank you very much for your time and consideration Iain

Iain Fraser
  • 685
  • 6
  • 13

5 Answers5

6

Yes there is. Agent Ransack This software can search through directories of files of most formats and takes REGEX too.

Gutsygibbon
  • 782
  • 7
  • 14
4

The closest I have ever found for this is a package called the PDF Search Assistant. The website looks dodgy I admit but the software actually works very well and does allow regex across multiple files.

It's not free or cheap however and I haven't needed to do this in some time so I am not aware of anything newer.

BinaryMisfit
  • 20,643
  • 10
  • 67
  • 76
  • The currently linked site is indeed dodgy, since their certificate is invalid! It seems to work [without the `www` subdomain](https://search-pdf.com/). – Alex Povel Nov 17 '20 at 14:36
4

Windows

With regex search:

Without regex search:

Other:

  • grepWin, it supports regex, but doesn't support PDF files yet.

Linux

Without regex search:

  • pdfgrep (no GUI, available via apt-get)

    Example regex usage: (e )?Universit[yä])@Claudius


Related question: Is there any pdf reader that supports word searching with regular expression?

kenorb
  • 24,736
  • 27
  • 129
  • 199
1

pdfgrep still exists and is packaged for Debian. However, it doesn’t have a graphical user interface.

Claudius
  • 8,808
  • 1
  • 15
  • 13
1

dngrep - GREP for Windows is said to be able to search PDF documents via plug-in.

harrymc
  • 455,459
  • 31
  • 526
  • 924