I have a file directory with a number of .pdf
files in it.
I want to count how many files in the directory have the word SSN
in it excluding the files that also contains the words testversion *.1
in it.
For now I have the following code to check for which files have the word SSN
in it:
findstr /S /I /M ssn *.pdf
So files with the word SSN
in it and the phrase testversion 1.2
need to show up.
Files with the word SSN
in it and the phrase testversion 1.1
don't need to show up.
I think I need to do something with the /R
reggex command but I'm not yet mastering reggex.