regex: cleaning text: remove everything upto a certain line
regex: cleaning text: remove everything upto a certain line Question: I have a text file containing The Tragedie of Macbeth. I want to clean it and the first step is to remove everything upto the line The Tragedie of Macbeth and store the remaining part in removed_intro_file. I tried: import re filename, title = ‘MacBeth.txt’, …