Finding files with a full stop character in their name

English support forum

Moderators: sheep, Hacker, Stefan2, white

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

Finding files with a full stop character in their name

Post by *spikey » 2018-06-15, 19:34 UTC

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: 2643
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Find Search file name with period dot full stop

Post by *Stefan2 » 2018-06-15, 20:30 UTC

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?
 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

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

Post by *aksmfakt132 » 2018-06-16, 00:51 UTC

You do not even need to use regular expressions
Search *. *.

User avatar
nsp
Power Member
Power Member
Posts: 1217
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Find Search file name with period dot full stop

Post by *nsp » 2018-06-16, 05:31 UTC

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: 2643
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Find Search file name with period dot full stop

Post by *Stefan2 » 2018-06-16, 06:09 UTC

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

:thumbsup:





 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

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

Post by *spikey » 2018-06-16, 23:26 UTC

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: 38116
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) » 2018-06-17, 07:08 UTC

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
http://www.ghisler.com

Post Reply