Hi, I'm having a problem of the following form.
I am searching for text which is made up of two parts separated by several different empty space symbols such as newlines (\n), carriage returns (\r) spaces and nbsp. So the text is basically as follows
string searched_text = "part1" + " \n\r " + "part2"
When I run PdfPageBase.FindText(searchedText) I find all the appearances in which my "part1" and "part2" appears, regardless of having those newlines spaces and carriage returns between them. But this is not what I am trying to find and I would instead like to have a more literal search of this text. If I use the RegEx property however, I don't find anything.
Given that PdfPageBase.ExtractText().Contains(searched_text) returns true the literal text is contained in the pdf.
So my question is as follows, how can I make the Find Text method pay attention to include the "\n", "\r" and whitespace in its search and not just look for the "part1" + "part2"?