AND operator when using Search file content

Discussion, questions and support.
Post Reply
Message
Author
sdb
Posts: 138
Joined: 02.10.2011, 07:11

AND operator when using Search file content

#1 Post by sdb » 21.12.2018, 17:40

How do you use the operator AND when using the search „Search file content, Containing text:” using the xdoc2txt plugin ?

A space between two words like “hiking hotel” does not work. when using the Regular expression option, the OR operator works by typing in “hiking | hotel”. But I have not found out yet how you use AND with or without using regular expression.

Florent
Posts: 16
Joined: 27.11.2018, 21:43

Re: AND operator when using Search file content

#2 Post by Florent » 21.01.2019, 21:30

Good question, even when not using xdoc2txt.

I did a bit of searching and found that this regex works (?s)(?=.*word1)(?=.*word2) regardless of the order of "word1" and "word2", and even if they are on separate lines.
It is cumbersome but it works.
If a simpler way exists, I would like to know too.

sdb
Posts: 138
Joined: 02.10.2011, 07:11

Re: AND operator when using Search file content

#3 Post by sdb » 23.01.2019, 11:52

thx, for that hint florent. the AND really is practicable when finding is many pdfs...
maybe marek will implement an easier solution for this.
you can use totalcommander or adobe reader advanced search for that too, bye the way

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests