Basic, Intuitive Searching/Find? How about it?

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

Moderators: helmut, XnTriq, xnview

Post Reply
Xnout!
Posts: 31
Joined: Wed May 24, 2017 2:18 am

Basic, Intuitive Searching/Find? How about it?

Post by Xnout! »

I want to search for terms in a filename, such as any files that contain the
word "red" or the term "736"

How would I do this?
I tried "red OR 736" in simple search and messed around with some things in advanced search/find
but got nothing as I wanted it. :(
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Basic, Intuitive Searching/Find? How about it?

Post by xnview »

It uses RegExp, so try

Code: Select all

(red|736)
Pierre.
Xnout!
Posts: 31
Joined: Wed May 24, 2017 2:18 am

Re: Basic, Intuitive Searching/Find? How about it?

Post by Xnout! »

Ok.

But what about "AND"?
From what I understand there is no simple equivalent to it in RegEx.
Is there a way to do it in a 'fairly simple' way?

Why can't the program be made to support both RegExp and Boolean, aren't there others programs that do?

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

Re: Basic, Intuitive Searching/Find? How about it?

Post by xnview »

Xnout! wrote: Sat Apr 21, 2018 2:08 pm But what about "AND"?

Code: Select all

key1.*key2
Why can't the program be made to support both RegExp and Boolean, aren't there others programs that do?
which programs? so something like

Code: Select all

key1 + key2
Pierre.
Post Reply