Assuming that i've the following txt.file:
Jenkins Build Received: Request type: ScanRequestRequest ID: 2Assessee name: Jenkins.ZIP" jenkins_logs.txt
This build happens every weekend and the ScanRequestRequest ID number (in this case is number two) is always different.
What is the best approach to use the findstr command where? I've tried some examples but without any success:
findstr /C:"Jenkins Build Received: Request type: ScanRequestRequest ID: *Assessee name: Jenkins.ZIP" jenkins_logs.txt
And:
findstr /C:"Jenkins Build Received: Request type: ScanRequestRequest ID: [0-9]Assessee name: Jenkins.ZIP" jenkins_logs.txt
I saw too the findstr r/ option but i need the program catch this string literally (the jenkins_log is a file with too many lines (over 10000).
I'm new with this thing of batch. Thanks in advance.