Find files

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

Moderators: XnTriq, xnview

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

Find files

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

Re: Find files

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

Re: Find files

Postby ThunderWarrior » Mon Jan 15, 2018 11:32 am

Thanks a lot. Very useful.

Nice day!


Return to “MP - General Support”

Who is online

Users browsing this forum: No registered users and 2 guests