How would I tell python to give me all the text in a string which falls between the first instance of "!" alone on a line and the first instance of "end" alone on a line inclusively? lines= junk ! important stuff end more junk to cleaned_lines= ! important stuff end