0

Hi...

Is it possible to search a string on a PDF file?
I want to search and highlight a string on a PDF file .
If any idea please help me.....


Thanks for advance

3
Contributors
4
Replies
5
Views
6 Years
Discussion Span
Last Post by cereal
0

You will have to convert it to plain text first, which is going to be a pain in the ass. There are some classes that claim to be able to do it. Open source options probably won't be as reliable as commercial but it has been about a year since I have worked with pdf and php, so things may have changed.

You will have to google it though.

Another option, if you just want to do a word search and highlight that word, check into javascript libraries like maybe a jQuery plugin or something like that.

Edited by R0bb0b: n/a

0

Hi..
This functions will only works on linux OS right?I want to do it on windows XP..Anybody know how to convert a PDF to text file using commandline?

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.