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
iShockk 0 Newbie Poster
rproffitt 2,662 "Nothing to see here." Moderator
Dani 4,329 The Queen of DaniWeb Administrator Featured Poster Premium Member
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.