Tools to search for strings inside files without i

2020-01-29 03:36发布

I have to change some connection strings in an incredibly old legacy application, and the programmers who made it thought it would be a great idea to plaster the entire app with connection strings all over the place.

Visual Studio's "current project" search is incredible slow, and I don't trust Windows Search.

So, what's the best free, non-indexed text search tool out there? All it should do is return a list with files that contain the wanted string inside a folder and its subfolders.

I'm running Windows 2003 Server.

17条回答
三岁会撩人
2楼-- · 2020-01-29 03:43

Agent Ransack is another good one. It's fast, free and has some other nice features like shell integration.

Agent Ransack screenshot

查看更多
SAY GOODBYE
3楼-- · 2020-01-29 03:44

I tend to always use grep or find from unxutils. This works great on ms-windows.

查看更多
我命由我不由天
4楼-- · 2020-01-29 03:45

SeekFast is very convenient to search text in files - text files, MS Word, Excel, OpenOffice and others. It has a free version.

查看更多
干净又极端
5楼-- · 2020-01-29 03:47

Original Answer

Windows Grep does this really well.

Edit: Windows Grep is no longer being maintained or made available by the developer. An alternate download link is here: Windows Grep - alternate

Current Answer

Visual Studio Code has excellent search and replace capabilities across files. It is extremely fast, supports regex and live preview before replacement.

enter image description here

查看更多
该账号已被封号
6楼-- · 2020-01-29 03:52

I like AstroGrep. The results are shown in a list. A click on a row shows you the whole line as a preview highlighting the hit. It seems to be quite fast, lean and it is free. Tested on Windows 7, 8, 10 and Windows Server 2008 R2. Allows regular expressions.

Latest AstroGrep Screenshot

AstroGrep is a Microsoft Windows GUI File Searching (grep) utility. Its features include regular expressions, versatile printing options, stores most recent used paths and has a "context" feature which is very nice for looking at source code

Reference: AstroGrep

查看更多
【Aperson】
7楼-- · 2020-01-29 03:53

I'm a big fan of grepWin. It's free, lightweight and available from the explorer shell. I like not having to deliberately go find and start a program in order to search for something. I can just right click in explorer and bring it up.

查看更多
登录 后发表回答