Quick search with multiple words

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

Moderators: helmut, XnTriq, xnview

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

Quick search with multiple words

Post by modos »

Hello,
is there a way in quick search to insert multiple words?
example: concrete+diffuse+4K
Thanks
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Quick search with multiple words

Post by xnview »

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 »

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
XnThusiast
Posts: 1468
Joined: Tue Sep 27, 2016 8:18 am
Location: France
Contact:

Re: Quick search with multiple words

Post by michel038 »

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 »

Perfect, this is the trick.
Thanks
Post Reply