I have multiple .TXT files in a folder. Each text file has the same outline of paragraphs out of which I wish to select everything between 2 specific words.
I have a regex code for finding the particular text of interest.
The aim is to write a python code that can extract the desired text from all the .txt files and place it in an excel sheet next to the name of the .TXT file
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.