Use findstr in Windows with following command line structure: findstr [/I] [/S] "substring" "regex_file_name" /I Case-insensitive search. /S Search files in subfolders recursively.