I am looking for a gratis Windows program that can take a standard windows text file and search for occurrences of two user provided strings within N lines of each other, where N is user specified.
regex
is "nice to have", as are bells & whistles, but just that functionality will suffice.
[Update] I am looking for an off the shelf solution - not something that requires me to code.