Export the matched string 'Find in text'
Moderators: Hacker, petermad, Stefan2, white
Re: Export the matched string 'Find in text'
Using Everything for this task is simple.
Search for whatever you like (name and/or content)
Select all from the Results
File / Export in several formats.
Search for whatever you like (name and/or content)
Select all from the Results
File / Export in several formats.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Export the matched string 'Find in text'
Is this possible with beta (1.5) version and upwards (1.4 does not search for content)?Horst.Epp wrote: 2025-02-27, 17:46 UTC Using Everything for this task is simple.
Search for whatever you like (name and/or content)
Select all from the Results
File / Export in several formats.
Re: Export the matched string 'Find in text'
There is no reason to stay with version 1.4.Oesie wrote: 2025-02-27, 19:31 UTCIs this possible with beta (1.5) version and upwards (1.4 does not search for content)?Horst.Epp wrote: 2025-02-27, 17:46 UTC Using Everything for this task is simple.
Search for whatever you like (name and/or content)
Select all from the Results
File / Export in several formats.
The Alpha version is not what other software mean with Alpha status.
1.5 is stable and so much better than 1.4.
For content searching, one can also index it and even access the Windows search index.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
Re: Export the matched string 'Find in text'
It does. But you can't solve your issue with it. You need Everything 1.5 for that.
When you know, it is simple. When you don't, it's hard...
(moral of the story: just provide the "simple" solution. )
Search-queries might vary slightly (depending on the actual Everything 1.5 configuration), but these should work:
To show all txt files with line(s) that contain "found" (case-insensitive). Show the first matching line
Code: Select all
ext:txt fromdisk:regex:content:(.*found.*) columns:name;1
To show all txt files with line(s) that contain "found" (case-insensitive. Show the first 9 matching lines
(regex supports a max of 9 unnamed capture groups)
Code: Select all
ext:txt global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
(untested)
Code: Select all
invoice*.pdf date-modified:last6months fromdisk:regex:content:(usd.+?\-) columns:name;1
To export the results:
- Menu => File => Export
- Save As = CSV Comma Separated Values (*.csv)
(there is currently an issue with quoting in the exported CSV format. For now you will need to do a manual search/replace in a text editor to fix that).
Re: Export the matched string 'Find in text'
Thank you! It is really helpful to see the examples and inspires to explore the features of Everything further.NotNull wrote: 2025-02-28, 13:27 UTCIt does. But you can't solve your issue with it. You need Everything 1.5 for that.
When you know, it is simple. When you don't, it's hard...
(moral of the story: just provide the "simple" solution. )
Search-queries might vary slightly (depending on the actual Everything 1.5 configuration), but these should work:To show all txt files with line(s) that contain "found" (case-insensitive). Show the first matching lineCode: Select all
ext:txt fromdisk:regex:content:(.*found.*) columns:name;1
To show all txt files with line(s) that contain "found" (case-insensitive. Show the first 9 matching lines
(regex supports a max of 9 unnamed capture groups)Code: Select all
ext:txt global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
(untested)Code: Select all
invoice*.pdf date-modified:last6months fromdisk:regex:content:(usd.+?\-) columns:name;1
To export the results:
- Menu => File => Export
- Save As = CSV Comma Separated Values (*.csv)
(there is currently an issue with quoting in the exported CSV format. For now you will need to do a manual search/replace in a text editor to fix that).
The question is hereby solved

Re: Export the matched string 'Find in text'
I almost got your solution 'deciphered'. However not everything is explained in the menu "Help - Search Syntax". Also the hits from Google on the voidtools website aren't working because the forum temporarily moved.NotNull wrote: 2025-02-28, 13:27 UTC When you know, it is simple. When you don't, it's hard...
(moral of the story: just provide the "simple" solution. )
To show all txt files with line(s) that contain "found" (case-insensitive. Show the first 9 matching lines
(regex supports a max of 9 unnamed capture groups)Code: Select all
ext:txt global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
For example:
'global:' isn't in the help file. There is one hit: "Prefix a modifier with :: to enable it globally." If it the same, how does this work?
'fromdisk:' explained as "Search for properties and content from disk." Aren't searches performed on disks by default? Your solution also work without this input.
'columns:name;' What does the part 'name' do? I can't see any visual change in GUI or search result when changing or removing this?
Do you have a good source where I should be able to find the answers?
Re: Export the matched string 'Find in text'
Hi,
have a look here:
global:
Prefix a search modifier with :: to enable it globally.
For example, to enable match case for the rest of the search:
::case: FOO BAR
:: --> Examples --> Search for: ::
fromdisk:
'columns:name;'
Search:
global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
columns:name;1;2;3;4;5;6;7;8;9 ... creates/shows 9 columns (e.g. in Everything 1.5.0.1391a (x64),
named “Regular Expression Match 1” to “Regular Expression Match 9”.
have a look here:
Temporary link | Regular link .../forum/... |
Search Modifiers | Search Modifiers |
global:
Temporary link | Regular link .../forum/... |
global: | global: |
Prefix a search modifier with :: to enable it globally.
For example, to enable match case for the rest of the search:
::case: FOO BAR
:: --> Examples --> Search for: ::
fromdisk:
Temporary link | Regular link .../forum/... |
from-disk: | from-disk: |
Search properties and content on disk (not from the index) or search properties from the index. | |
Always search unindexed content | Always search unindexed content |
'columns:name;'
Search:
global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
columns:name;1;2;3;4;5;6;7;8;9 ... creates/shows 9 columns (e.g. in Everything 1.5.0.1391a (x64),
named “Regular Expression Match 1” to “Regular Expression Match 9”.
Re: Export the matched string 'Find in text'
With all the suggestions I got it working. Thank you!tuska wrote: 2025-03-01, 11:58 UTC Hi,
have a look here:
Temporary link Regular link .../forum/... Search Modifiers Search Modifiers
global:
Temporary link Regular link .../forum/... global: global:
Prefix a search modifier with :: to enable it globally.
For example, to enable match case for the rest of the search:
::case: FOO BAR
:: --> Examples --> Search for: ::
fromdisk:
Temporary link Regular link .../forum/... from-disk: from-disk: Search properties and content on disk (not from the index) or search properties from the index. Always search unindexed content Always search unindexed content
'columns:name;'
Search:
global:fromdisk:regex:content:(.*found.*) columns:name;1;2;3;4;5;6;7;8;9
columns:name;1;2;3;4;5;6;7;8;9 ... creates/shows 9 columns (e.g. in Everything 1.5.0.1391a (x64),
named “Regular Expression Match 1” to “Regular Expression Match 9”.