Find files

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

Moderators: XnTriq, xnview

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

Find files

Post by ThunderWarrior »

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: 5618
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Find files

Post by XnTriq »

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: 25
Joined: Sun Dec 17, 2017 3:32 pm

Re: Find files

Post by ThunderWarrior »

Thanks a lot. Very useful.

Nice day!
Post Reply