Finding files with a full stop character in their name

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
spikey
Member
Member
Posts: 123
Joined: 2005-07-20, 08:37 UTC

Finding files with a full stop character in their name

Post by *spikey »

How do I use the Find Files dialogue to list all files with a full stop (period) in the file name?

For example: joe.smith101.jpg


I am using "file name" to mean the part of the file's name before the full stop separator and file extension.
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Find Search file name with period dot full stop

Post by *Stefan2 »

Me think you can use RegEx to do that.
Utilize tc plugin to match on base name part only.


Find Files
[Plugins] tab
tc | name | RegEx | \.




-or-

With "normal" search use this RegEx pattern: .+\..+\.+



That?
 
aksmfakt132
Junior Member
Junior Member
Posts: 38
Joined: 2018-06-04, 13:18 UTC

Post by *aksmfakt132 »

You do not even need to use regular expressions
Search *. *.
User avatar
nsp
Power Member
Power Member
Posts: 1803
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Find Search file name with period dot full stop

Post by *nsp »

Stefan2 wrote:Me think you can use RegEx to do that.
Utilize tc plugin to match on base name part only.
Find Files
[Plugins] tab
tc | name | RegEx | \.
That?
 
Most efficient version is to just contain operator like :

Code: Select all

Find Files
[Plugins] tab
tc | name | contains | .
User avatar
Stefan2
Power Member
Power Member
Posts: 4132
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Find Search file name with period dot full stop

Post by *Stefan2 »

nsp wrote:
Good point, that's more simpler, easier and faster.

:thumbsup:





 
User avatar
spikey
Member
Member
Posts: 123
Joined: 2005-07-20, 08:37 UTC

Post by *spikey »

aksmfakt132 wrote:You do not even need to use regular expressions
Search *. *.
For some reason, that doesn't work.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

The search string to use is actiually:
*.*.*.

Why? TC always assumes a single dot at the end. Then there are two (or more) dots required in the middle of the name. If you just use
*.*.
it will match files with at least one dot in the name (files which don't have an extension will be skipped).
Author of Total Commander
https://www.ghisler.com
Post Reply