If you want to save the files resulting from the grep search in a zip archive, use this command:
grep -lrZ "searchstring" ./ | xargs -0 zip -g nameOfZip.zip
If you want to save the files resulting from the grep search in a zip archive, use this command:
grep -lrZ "searchstring" ./ | xargs -0 zip -g nameOfZip.zip
zip -r zipfile.zip directoryToZip -x directoryToZip /subdirectoryToExclude/* directoryToZip/SecondSubdirectoryToExclude /*