Find all lines between two patterns, EXCLUSIVE of the second pattern?
Find all lines between two patterns, EXCLUSIVE of the second pattern? Consider that I have the file listed below. I need to select all lines from every instance of the regex pattern Word A to before the regex pattern Word D. Word A Word B Word C Word D Word E Word F Word G …