Free alternative(s) to PowerGREP
Solution 1
I would suggest trying the new dnGrep. It's a .NET application that provides grep-like functionality and has almost all the features you specified.
Here are the features and a sample screenshot:
- Shell integration (ability to search from Windows Explorer)
- Plain text/regex/XPath search (including case-insensitive search)
- Phonetic search (using Bitap and Needleman-Wunch algorithms)
- File move/copy/delete actions
- Search inside archives (via plug-ins)
- Search Microsoft Word documents (via plug-ins)
- Search PDF documents (via plug-ins)
- Undo functionality
- Optional integration with a text editor (like Notepad++)
- Bookmarks (ability to save regex searches for the future)
- Pattern test form
- Search result highlighting
- Search result preview
- Does not require installation (can be run from a USB drive)
Solution 2
Feature-wise nothing even comes close to PowerGREP, so the question is, how many compromises are you willing to make? I agree that PowerGREP's price tag is a bit steep (not that I have ever regretted a single penny I spent on it), so perhaps something cheaper might do?
UltraEdit is an excellent text editor with very good regex support. It supports Perl-style regular expressions, and you can do find/replace operations in multiple (optionally pre-filtered) files with it. I'd say it can do everything you want to do according to your question.
RegexBuddy, apart from being the best regex editor/debugger on the market, also has a limited GREP functionality, allowing search/replace in (pre-filtered) subdirectories. It's also not free, but considerably less expensive than PowerGREP, and its regex engine has all the features you could ask for (the current version even introduced recursive regexes, and the extremely useful ability to translate regexes between flavors). Big pluses here are the ability to do a non-desctructive preview for all operations, and to have backups automatically be created of all files that are modified during a grep.
Solution 3
I use GrepWin extensively during development and on production servers - it doesn't support all the features you specify, but it gets the job done (your mileage may vary).
Solution 4
For a fast loading, fast executing program used to only find (no search and replace) then I've found Baregrep to be pretty good. It does subdirectories.
Solution 5
You might have a look on this:
Open Source PowerGREP Alternatives
Currently there're six alternatives to PowerGREP.
Related videos on Youtube
Mischa Kroon
Updated on July 09, 2022Comments
-
Mischa Kroon almost 2 years
First of all, great praise goes out to PowerGREP. It's a great program.
But it's not free. Some of its options I'm looking for:
-
Being able to use .NET regexp's (or similar) to find things in a filtered list of files through subdirectories.
-
Replacing that stuff with other regexps.
-
Being able to jump to that part of the file in some sort of editor.
-
Non commandline.
-
Being able to copy the results / filename and occurrences of the text.
-
Low overhead would also be nice, so not too many dependencies, etc.
-
And I need it on Windows.
-
user2924019 about 5 yearseasygrep.com is a free lightweight grep - simular to PowerGREP but just does the basics.
-
Peter Mortensen over 2 years
-
-
Jan Goyvaerts almost 15 yearsThose are command line utilities, which Mischa says he doesn't want.
-
Pierre over 12 yearsWell powergrep goes far beyond a simple grep, it is compatible with several engiens, offers a complete documentation , regex libraries.
-
Jafin about 11 yearsGreat tool, previously using GrepWin have switched of to this now.
-
Ninjanoel about 8 yearsgreat answer, thanks, just used GrepWin to find config files only in my deploy folders, while ignoring those in Debug and Release folders, and now dragging that list of filse into Visual Studio for editing. Exactly what I needed.
-
DeCaf over 7 yearsJust saved me a bunch of money from buying PowerGrep. This tools seems really neat!
-
User over 6 yearsI did wonder if Regex Buddy could be used as a poor man's PowerGrep.
-
User over 6 yearsgrepWIn is pretty quick and it does replaces, what is lacks is a Replace window to check you results (and built in regexes), which is essential in my experience.
-
Andrei Rantsevich over 4 yearsTime-saver when searching through PDF files.
-
Peter Mortensen over 2 yearsThe link seems to be broken - hangs and times out after a few minutes: "The connection has timed out. The server at tools.tortoisesvn.net is taking too long to respond."
-
Peter Mortensen over 2 yearsUnfortunately, UltraEdit (or rather, the company behind it) is now pushing the subscription model very hard (it is impossible to find out from their descriptions whether the software will continue to work after the subscription runs out or if it is only to get access to new versions - they may do this deliberately to create some FUD). It is also extremely buggy on Linux.