How to preview the content you search

Discussion related to "Everything" 1.5.
bragandbounce
Posts: 3
Joined: Tue Jun 30, 2026 1:28 am

How to preview the content you search

Post by bragandbounce »

Hello everyone!

I have searched "grew up" and get more than ten results. In the "Content" window, only two results show "grew up" (marked by red lines) because they appear in the first few sentences of the documents.

How to set Everything, so that all the results show "grew up"?

For each result, I need to preview only the content containing "grew up", not the content of the first few sentences.

Is it possible? Thank you!
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 20049
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to preview the content you search

Post by void »

This is not possible with the Content column.

It can be done by capturing the matching line with regex:
regex:content:"(.*grew up.*)" add-column:1
bragandbounce
Posts: 3
Joined: Tue Jun 30, 2026 1:28 am

Re: How to preview the content you search

Post by bragandbounce »

void wrote: Tue Jun 30, 2026 2:52 am This is not possible with the Content column.

It can be done by capturing the matching line with regex:
regex:content:"(.*grew up.*)" add-column:1
Hello, I have done a test. It looks that the word I am searching for still does not appear in the results column. See below.

The word "Rotheram" is in the last part of the document. It does not appear in the results column.

Thank you!
You do not have the required permissions to view the files attached to this post.
void
Developer
Posts: 20049
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to preview the content you search

Post by void »

There's no newlines in the document, so Everything will still show the entire content in the regex match 1 column.

Please try the following instead:

regex:content:"(.{0,20}Rotheram.{0,20})" add-column:1


This will capture at-most 20 characters before and after your word of interest.
bragandbounce
Posts: 3
Joined: Tue Jun 30, 2026 1:28 am

Re: How to preview the content you search

Post by bragandbounce »

void wrote: Tue Jun 30, 2026 5:00 am There's no newlines in the document, so Everything will still show the entire content in the regex match 1 column.

Please try the following instead:

regex:content:"(.{0,20}Rotheram.{0,20})" add-column:1


This will capture at-most 20 characters before and after your word of interest.
Thank you, void!

Is it possible to make the content I search for bold? See the picture below: it is easy to find Rotheram in the results if it is highlighted.
void
Developer
Posts: 20049
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to preview the content you search

Post by void »

To highlight Rotheram in the Regmatch1 column:
regex:content:"(.{0,20}Rotheram.{0,20})" add-column:1 1:Rotheram
ChrisGreaves
Posts: 829
Joined: Wed Jan 05, 2022 9:29 pm

Re: How to preview the content you search

Post by ChrisGreaves »

bragandbounce wrote: Tue Jun 30, 2026 2:46 amHow to set Everything, so that all the results show "grew up"?
Hi bragandbounce.
I suspect (but am not certain) that something like a KWIC presentation would satisfy you. In this topic Void suggests a method.
KWIC index
Cheers, Chris