Basic, Intuitive Searching/Find? How about it?

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

Moderators: 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! » Sun Apr 08, 2018 4:27 pm

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: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Apr 12, 2018 1:12 pm

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! » Sat Apr 21, 2018 2:08 pm

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: 29744
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Sun Apr 22, 2018 9:21 am

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