query: I want search for a string and to pull all the lines between two patterns
positive_passages.docid: 40849
positive_passages.text: Search for a string and print everything before and after within a range
negative_passages.docid: 19261
negative_passages.text: Match two strings in one line with grep
negative_passages.docid: 101216
negative_passages.text: search multiple pattern in file and delete line if pattern matches
negative_passages.docid: 142974
negative_passages.text: Get the index of a pattern in a string using regex
negative_passages.docid: 36108
negative_passages.text: Can regular expressions be used to match nested patterns?
negative_passages.docid: 73908
negative_passages.text: How can I "merge" patterns in a single line?
negative_passages.docid: 102405
negative_passages.text: How can I delete everything between two markers in a file?
negative_passages.docid: 14942
negative_passages.text: Extract a string between patterns/delimiters in R
negative_passages.docid: 69678
negative_passages.text: How do I display all the characters between two specific strings?
negative_passages.docid: 8112
negative_passages.text: How to add text to end of line when pattern is matched?
negative_passages.docid: 759
negative_passages.text: How do I match any character across multiple lines in a regular expression?
negative_passages.docid: 76081
negative_passages.text: Iterate over the lines of a string
negative_passages.docid: 173
negative_passages.text: Multiline pattern match using sed, awk or grep
negative_passages.docid: 151731
negative_passages.text: How to find a whole word in a String in java
negative_passages.docid: 102186
negative_passages.text: How to capture multiline regex between two tags?
negative_passages.docid: 46301
negative_passages.text: How to find lines matching a pattern and delete them?
negative_passages.docid: 105605
negative_passages.text: Find each line matching a pattern but print only the line above it