Find files

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

Moderators: XnTriq, xnview

Post Reply
ThunderWarrior
Posts: 20
Joined: Sun Dec 17, 2017 3:32 pm

Find files

Post by ThunderWarrior » Tue Jan 09, 2018 9:17 am

Hello friends,

How can I search files with some concrete character or string?

Example:
I have 4 files:
master01.jpg
master02.jpg
master#3.jpg
master#4.jpg

What code can I use to search the files with "#" only?
And What code for all files without "#" only?

Thanks

User avatar
XnTriq
Moderator & Librarian
Posts: 5312
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Find files

Post by XnTriq » Sat Jan 13, 2018 6:45 am

ThunderWarrior wrote:What code can I use to search the files with "#" only?
  1. Disable Use RegExp
  2. Filename:

    Code: Select all

    *#*
ThunderWarrior wrote:And What code for all files without "#" only?
  1. Activate Use RegExp
  2. Filename:

    Code: Select all

    [^#]
RegexOne: Excluding specific characters

ThunderWarrior
Posts: 20
Joined: Sun Dec 17, 2017 3:32 pm

Re: Find files

Post by ThunderWarrior » Mon Jan 15, 2018 11:32 am

Thanks a lot. Very useful.

Nice day!

Post Reply