Top "Findstr" questions

findstr is a Windows command that searches for patterns of text in one or more files using regular expressions.

What are the undocumented features and limitations of the Windows FINDSTR command?

The Windows FINDSTR command is horribly documented. There is very basic command line help available through FINDSTR /?, or HELP FINDSTR, …

batch-file cmd findstr
Regular expressions in findstr

I'm doing a little string validation with findstr and its /r flag to allow for regular expressions. In particular I'd …

windows regex command-line findstr
Searching recursively one string on windows OS

I want to search one string e.g. "main" in my project on windows OS recursively. I searched that and …

windows-7 findstr
grep in windows batch file

I am trying to write a Windows batch file that will look through a specific html index file that looks …

windows batch-file grep findstr
How to write a search pattern to include a space in findstr?

I want to search all files in a certain directory for occurrences of statements such as Load frmXYZ I am …

regex findstr
findstr ms-dos command won't search sub directories

I had to switch off my windows search indexing in Windows 7 as the old hard disk was constantly making noise …

windows findstr
Piping to findstr's input

I have a text file with a list of macro names (one per line). My final goal is to get …

batch-file pipe findstr
Grep for windows

Old.txt contains apple orange banana And New.txt contains apple orange banana grape lemon I can access new contents …

cmd grep findstr
Batch program find string in variable

I tried to find the solutions in many places but couldn't find specific answer. I am creating a batch script. …

batch-file command-line command-prompt findstr
Batch file: Find if substring is in string (not in a file) Part 2 - Using Variables

In a Windows batch file, I have a string 'abcdefg'. I want to check if 'bcd' is in the string, …

string batch-file substring batch-processing findstr