I have thousands of txt files that are actually in JSON format.
Each file has the same string, with different values, namely:
I want to extract the values of these two strings from all the txt files that I put in the same folder.
I’ve found these lines of code, but it only applies to one txt file. Whereas what I need is, it can execute all files in one folder.