A Windows application for searching text in files across multiple directories, inspired by the functionality of the Unix "grep" command.
Website: https://valginer0.github.io/WinFindGrepWebsite/
-
Search for text across multiple directories simultaneously
-
Support for file filters (default: *.txt)
-
Advanced search options:
- Case sensitivity
- Whole word matching
- Regular expressions
- Extended search with escape characters (\n, \r, \t)
-
Replace functionality to update text in multiple files
-
Results displayed with file path, line number, and content
-
Double-click on results to open the file
-
Search History: Remembers previously searched directories
-
Cancellation: Stop long-running searches instantly
- Windows operating system
- No additional dependencies required (self-contained application)
- Download the latest release executable from the Releases page
- No installation needed - just run the .exe file
If you prefer to build from source:
- Clone this repository or download the source code
- Build the project using Visual Studio or JetBrains Rider
- For a standalone executable, use the "Publish" feature in your IDE with "Self-contained" and "Single file" options
- Enter the text to search for in the "Find what:" field
- Optionally, enter replacement text in the "Replace with:" field
- Specify file filters (e.g., *.txt, *.cs, *.xml) separated by commas
- Enter one or more directories to search in (separated by commas)
- Select your search options:
- Match whole word only
- Match case
- In all sub-folders
- In hidden folders
- Choose a search mode:
- Normal: Standard text search
- Extended: Support for escape sequences
- Regular expression: Use regex patterns
- Click "Find All" to search or "Replace in Files" to replace
The application is built with C# and .NET 9.0 using Windows Forms.
Forms/: Contains the UI componentsModels/: Contains data modelsServices/: Contains business logic for file operations
If you find this tool useful, consider supporting its development:
This project is licensed under the MIT License - see the LICENSE file for details.
- Inspired by grep command-line utility
- Built with .NET and Windows Forms