To search text in
file.pdf:SumatraPDF grep -i foo file.pdf-i ignores case i.e. does case-insensitive search, which is probably a good default.Other options:
-aignore accents (diacritics)
Search with a regular expression #
SumatraPDF grep -i -G x.* file.pdf-Gsearch pattern is a regex-iyou can combine it with case-insensitive flagx.*is a regular expression that says: every string that starts withx
For all options see SumatraPDF grep.