Update 27 feb: Updated the example to not only refer a txt file but also pdf and other formats.
Example files test.pdf, test.docx or test.txt containing:
Code: Select all
Some text on rule 1.
Some text on rule 2 with more data and numbers.
rule.*data.*
When running the search the string 'Some text on rule 2 with more data and numbers.' is matched from all the files. Is there a way to export the matched string results?
Update 27 feb: For plain text files the FINDSTR command is given. Is there tooling for the other formats (i.e. docx, xlsx, pdf, pptx)?