I'm designing a C# console application that searches sentences in a PDF text (i.e multiple words separated by space , and may be separated by line) and a title sentence that may take more than one line .
I get the pdf text in a string then match the given sentences against them , for example i'm matching a pdf string against a title like this : "Lower leg compartment syndrome post \nappendicectomy"
i searched around here and found some very very useful links as the one in here
how to highlight a text or word in a pdf file using iTextsharp?
the point is i need the search to allow searching the whole sentence even if it's separated by lines then highlight it when matches.. can any one help ?