query: Python extract after and before certain conditions
positive_passages.docid: 2360
positive_passages.text: My regex is matching too much. How do I make it stop?
negative_passages.docid: 124497
negative_passages.text: remove lines that contain a specific text in a file
negative_passages.docid: 81900
negative_passages.text: remove lines where a field's value is less than or equal to 3 - sed or awk?
negative_passages.docid: 117465
negative_passages.text: Python extract pattern matches
negative_passages.docid: 9171
negative_passages.text: regex for matching something if it is not preceded by something else
negative_passages.docid: 115046
negative_passages.text: grep one line before the match plus the match
negative_passages.docid: 143158
negative_passages.text: Extract information from a text file
negative_passages.docid: 106334
negative_passages.text: extract value between two search patterns on same line
negative_passages.docid: 122732
negative_passages.text: Equivalent of "former" and "latter" for more than 2 items
negative_passages.docid: 32927
negative_passages.text: Remove specific characters from a string in Python
negative_passages.docid: 96917
negative_passages.text: Extract by expression - N first
negative_passages.docid: 4081
negative_passages.text: How can I extract records from a file if they include a specific set of strings?
negative_passages.docid: 68146
negative_passages.text: How to remove part of a string?
negative_passages.docid: 9784
negative_passages.text: How do I replace certain parts of my string?
negative_passages.docid: 44101
negative_passages.text: Pythonic way to split a list after elements for which a given predicate is true
negative_passages.docid: 53598
negative_passages.text: Print lines between (and excluding) two patterns
negative_passages.docid: 105664
negative_passages.text: Get Substring - everything before certain char