Search for text in

How can I search for a text in a pdf document, when the search-text is divided into two or more TextFragments?

@PELLE42

If a text fragment has line break, you can search it using regular expression like in the below code snippet:

TextFragmentAbsorber absorber = new TextFragmentAbsorber(@"The\s*text\s*has\s*line\s*break", new TextSearchOptions(true));