How search files excluding specific text?

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
thanos12
Junior Member
Junior Member
Posts: 3
Joined: 2021-12-04, 09:19 UTC

How search files excluding specific text?

Post by *thanos12 »

Hello I have many html files called for example 2134.html and 2134_en.html. How can I search ONLY all my html files containing the word "en" ?
Thanks
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How search files excluding specific text?

Post by *Horst.Epp »

Enter in the field Find text:
your search
or if the text should not be there:
!your search
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
thanos12
Junior Member
Junior Member
Posts: 3
Joined: 2021-12-04, 09:19 UTC

Re: How search files excluding specific text?

Post by *thanos12 »

Like this ? because is not working. Can you please be more specific to my example? Thanks.
Image: https://i.postimg.cc/wBMbhsDg/Screenshot-2021-12-04-113454.jpg
thanos12
Junior Member
Junior Member
Posts: 3
Joined: 2021-12-04, 09:19 UTC

Re: How search files excluding specific text?

Post by *thanos12 »

In order to help you more, I would like to see ONLY the html files that Must containing the "en" within file name like my example. Thanks.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How search files excluding specific text?

Post by *Horst.Epp »

thanos12 wrote: 2021-12-04, 09:37 UTC Like this ? because is not working. Can you please be more specific to my example? Thanks.
Image: https://i.postimg.cc/wBMbhsDg/Screenshot-2021-12-04-113454.jpg
You have used the negation, so it searche for files NOT containing en.
Remove the !
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6450
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How search files excluding specific text?

Post by *Horst.Epp »

Sorry my mistake for NOT containg text
you have to set the option "Find files NOT containing the text"
and not using !
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: How search files excluding specific text?

Post by *tuska »

Find Files
Search for: *.html

Tab "Plugins":
[x] Search in plugins

Code: Select all

Plugin	Property	OP		Value
---------------------------------------------
tc	name		contains	en
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How search files excluding specific text?

Post by *petermad »

Or just:

Search for: *en*.html
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: How search files excluding specific text?

Post by *Usher »

2petermad
In this case *_en.html should be better, I think.
But the problem isn't defined clearly enough to me. Maybe the OP wants to find all html files, which contain links to *_en.html files in HTML code.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: How search files excluding specific text?

Post by *petermad »

2Usher

Well, thanos12 asked
How can I search ONLY all my html files containing the word "en" ?
indicating that "en" could be anywhere in the file name. And Search for: *en*.html includes *en.html
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: How search files excluding specific text?

Post by *Usher »

2petermad
As I have already stated, the problem isn't defined clearly enough to me. There is another pattern present in provided sample filenames.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply