Quick search with multiple words

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
modos
Posts: 3
Joined: Wed Apr 22, 2020 7:10 am

Quick search with multiple words

Post by modos » Wed Apr 22, 2020 7:22 am

Hello,
is there a way in quick search to insert multiple words?
example: concrete+diffuse+4K
Thanks

User avatar
xnview
Author of XnView
Posts: 33425
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Quick search with multiple words

Post by xnview » Tue Apr 28, 2020 12:11 pm

do you have tried something like

Code: Select all

(concrete|diffuse)
Pierre.

modos
Posts: 3
Joined: Wed Apr 22, 2020 7:10 am

Re: Quick search with multiple words

Post by modos » Wed Apr 29, 2020 8:48 pm

Thancks for your reply.
I have tried but whit concrete|diffuse i have all concrete and all diffuse textures,
not only the textures that contain concrete and diffuse at the same time.

User avatar
michel038
Posts: 506
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Quick search with multiple words

Post by michel038 » Wed Apr 29, 2020 9:49 pm

With regular expression, it's not simple to get word1 AND word2

This is only possible in one string (like text in IPTC Caption) , but not possible for search in multiple keywords (these are different strings)

If word2 follows word 1 , use

Code: Select all

word1.*word2

If word1 is after word2, you must use :

Code: Select all

word2.*word1
in one shot :

Code: Select all

word1.*word2|word2.*word1
:evil: :twisted: :mrgreen:

modos
Posts: 3
Joined: Wed Apr 22, 2020 7:10 am

Re: Quick search with multiple words

Post by modos » Wed Apr 29, 2020 10:24 pm

Perfect, this is the trick.
Thanks

Post Reply