Neovim and telescope:find files with two strings - neovim

I am using telescope with Neovim to find files quickly. However, when I try to input two search strings seperate by space, telescope does not list any files. How can I search for files with two individual substrings in their path?

As Telescope is a fuzzy finder, you don't need to separate search by spaces, just type all together.
For example, if you have a file named some_python_script.py it will appear as a result of the query: somescript

Related

Search in VS Code for occurrences of term greater than N

Here's an example:
My search term is myTermABC
I have 100 files in my project
10 files contain myTermABC
Only two of those files contain myTermABC more than once (the other 8 contain it only once)
I only want VS Code to return the two files that contain myTermABC more than once.
How to do this?
Is this even possible?
Maybe there's an extension that enables this functionality?
In vscode search across files you have to specifically tell it to include newlines. The dot doesn't do this in a search in vscode.
So this find should work: (myTermABC[.\n]*){2,}

Visual Studio Code file filter behavior

I've opened a folder in vscode and have a fairly a large file structure to navigate. It would be very helpful if I were able to filter across those files in a way that showed only the file names that containe the filter string while still showing their location in the file hierarchy. I could have sworn that I've done that before but now have lost it.
We do have highlighting in the Explorer pane, by selecting the explorer pane and starting to type. The difficulties there are that it:
Highlights files but doesn't eliminate unmatched files
Doesn't expand folders that contain the matched files
Does a confounding search that is the equivalent of putting a wildcard between each character typed
Do extensions exist that do all of the following?
Filter the file names based on search string (i.e., hides the unmatched files)
Expand the folders that contain the matched file names
Allows for exact search (or regular expression)

Powershell search for pattern with itextsharp.dll

I need to search pdf-files for patterns and then I just want the name of the files containing "region värmland", using that to copy the files to a different folder.
The pattern is in the top right corner, and if possible I would like to search as little as possible in the file due the number of files.
I could not find any relevant information when googleing how to just search for one set of words and keep the output inside the script for further use.
Anyone who can help with this?

Find or replace a string in word documents in a given folder

How to find or replace a word in the documents in the given folder
Is there is a tool or any script is available to do that?
Thanks.
Finding text is straightforward. There are several ways to do it, including using the Windows search utility. Here's an article with several methods: Search through the content of multiple Word documents
To find and replace, you can use a free text editor like Notepad++. It has a very good Find in Files utility. There are many other utilities that can do this, some paid and some free.
Finally, you can write a VBA macro that will find and replace all documents in a folder. Here's a page with a macro listing that does that: How to Find and Replace Contents in Multiple Word Documents

Search multiple strings in eclipse with AND operation

I need to search throughout the work-space for all files containing "file1.txt" AND "file2.txt" as a string. How to achieve this in eclipse search?
possiblly duplicate of Search multiple strings in eclipse but not worked with file names and AND operation.
As far as I know, you can't, but as a workaround :
You could search for file name patterns file?.txt and then in the search view, click on the down arrow icon on the right, display as list and only doubleclick file1.txt and file2.txt matches
You will do two individual searches, one for file1.txt and one for file2.txt, and you will intersect the two results.
Step 1. Export the search results
As pointed out here , you can install the Eclipse Search CSV Export plugin. In the Marketplace, search for 'csv export' - it is the first result. Once installed, just perform a File Search as usual; in the Search Tab, in the bar, click on this icon (screenshot) named 'Export Search Results as CSV' to export the results as a csv file.
Obviously, you will perform a second search, and export those results, too.
Step 2. Convert the .csv file to .xlsx format
As shown here,in the section 'How to import CSV to Excel' , open Excel, go to Data tab > 'From Text', browse the .csv file; in the wizard, choose 'Delimited' (instead of 'Fixed width'), as Delimiters, choose 'Comma', preview the columns and click OK.
Now that you have converted the data into a more readable format, you can also Save as > .xlsx
Two columns are important here, Path and Location. I prefer Location, as it is an absolute location, not project relative.
Sort this column, select all its content, paste the content to a .txt file, save the .txt file. Do the same for your second search.
Step 3. Create the intersection of the lists of the Locations
At the previous step, you have copied the Locations column into a separate file, for each individual search. Navigate to Venn webtools , browse the .txt files and click Submit.The output will show the Intersection and the Differences between the two files. The Intersection represents the Locations of the files that contain BOTH your search strings - a functionality that should have been offered by the IDE. Please note that this tool allows up to 3 files to be uploaded.