Questions tagged [pdfgrep]

6 questions
39
votes
5 answers

How do I search a PDF file from command line?

I'm checking references of a paper and want to find the positions in the body where some paper (in the references list) is referenced. Is there a PDF editor which supports search via bash and extract the context of a position? I've tried to convert…
David
  • 393
  • 1
  • 3
  • 8
12
votes
1 answer

Is there a Pdf reader with regular expression search

When I want to search a snipet, like searchPart1 some unknown text searchPart2 in a text file, I use searchPart1.*searchPart2. But this is not possible in any pdf reader I use. Currently I convert pdf to a text file and open it using less or…
totti
  • 6,908
  • 4
  • 40
  • 48
3
votes
3 answers

How to search within pdf and other documents, other than simple text, preferably using a GUI?

Is this possible in principle? It seems to me that search tools like gnome-search-tool, Catfish and Searchmonkey can search within text files, but not within other more complex documents like pdf or with extensions handled by LibreOffice. Am I…
user47206
3
votes
1 answer

Search for a text string in commented PDF files

Needing to search for a text string not just in the PDF file body, but also in the comments, I've installed Acrobat Reader on Ubuntu 18.04 LTS. Its search function works properly, but I'm wondering if there's another way to accomplish that task…
2
votes
2 answers

Regular expression that matches all multiple separate expressions

It's admission time in India and I am trying my best to get the best college I can for engg. I have got a pdf file which contains a table which looks like It contains about 2500+ entries and I have 3 days time. So to do some smart work sorting out…
1
vote
1 answer

better search feature in pdf

I want to search a word like fooonetwo in one pdf. So the point is I do not know the real ward is foo_one_two or foo.one.two or foo-one-two or foo-one_two! or ... . Or better to say I want to search for words which at the same time include foo and…