Page 1 of 1
regexp -help with filtering results
Posted: 30 Mar 2008, 17:53
by assaf azoulay
hi! can somone help me with regexp?
i have this problem ,
i want to search for file(s) that contains word1 AND word2
that means that files that contain word1 and not word2 or:
word2 and not word1 will not be displayed in the results
how do i do that?
Posted: 30 Mar 2008, 18:04
by Ether
There's a simplier way: Search for files with word1 and then refine them by searching for files with word2.
To refine: On the right of the Find Now button, there's a small arrow, press it, and select 'Refine - Intersect with Found Items'.
Posted: 30 Mar 2008, 18:16
by Guest
hi!
thanks but it didnt work,when i press on refine ,
it looks that as search from the begining....

Posted: 30 Mar 2008, 18:37
by assaf azoulay
oops now i've got it , you need to search for word1 then type word2 and
only then press ctrl+i to intersect the result with previous results
thanks!

Posted: 31 Mar 2008, 18:42
by zarevak
ether wrote:There's a simplier way: Search for files with word1 and then refine them by searching for files with word2.
I don't think using two searches is simpler then one search. At least it takes twice the time and effort.
I've already asked for boolean operators in word Search in Czech part of the forum:
Search - logic operators in word search (Czech)
Posted: 01 Apr 2008, 07:44
by assaf azoulay
zarevak wrote:ether wrote:There's a simplier way: Search for files with word1 and then refine them by searching for files with word2.
I don't think using two searches is simpler then one search. At least it takes twice the time and effort.
I've already asked for boolean operators in word Search in Czech part of the forum:
Search - logic operators in word search (Czech)
hi! thank's for the reply
i have small problem that i dont understand czech language
can you please tell me what i have to write in find dialog to search with
the logic operator 'AND'?
Posted: 02 Apr 2008, 01:54
by zarevak
assaf azoulay wrote:
hi! thank's for the reply
i have small problem that i dont understand czech language
can you please tell me what i have to write in find dialog to search with
the logic operator 'AND'?
I'm sorry for the confusion. The feature is not available in Altap Salamander (yet?). The thread is a discussion about the feature request to add such boolean operators.
As written by
ether you can use Refine features in Find dialog to mimic simple boolean operations:
AND - Do a regular search (
Ctrl+F) for the first word, then write the second search parameters and click "
Refine - Intersect with Found Items" (
Ctrl+I)
OR - Do a regular search (
Ctrl+F) for the first word, then write the second search parameters and click "
Append to Found Items" (
Ctrl+W)
AND NOT - Do a regular search (
Ctrl+F) for the first word, then write the second search parameters and click "
Refine - Subtract from Found Items" (
Ctrl+S)
Posted: 02 Apr 2008, 09:58
by Guest
thanks.
