query: How to capture all lines but avoid lines containing a particular word or pattern? Is capturing with negative lookaheads possible?
positive_passages.docid: 1177
positive_passages.text: Regular expression to match a line that doesn't contain a word
negative_passages.docid: 14068
negative_passages.text: Regular Expressions: Is there an AND operator?
negative_passages.docid: 83564
negative_passages.text: How to grep lines which does not begin with "#" or ";"?
negative_passages.docid: 89219
negative_passages.text: How can I find and replace only if a match forms a whole word?
negative_passages.docid: 1451
negative_passages.text: How do I remove lines of a file which contain a specific string?
negative_passages.docid: 82797
negative_passages.text: Regex to match any character including new lines
negative_passages.docid: 153258
negative_passages.text: Find the line number which contains the pattern using custom regex delimiter
negative_passages.docid: 154473
negative_passages.text: How to ignore list elements when extracting with pattern matching
negative_passages.docid: 100478
negative_passages.text: How can I exclude the lines which matche the range patterns in sed?
negative_passages.docid: 14398
negative_passages.text: How to grep-inverse-match and exclude "before" and "after" lines
negative_passages.docid: 124497
negative_passages.text: remove lines that contain a specific text in a file
negative_passages.docid: 65805
negative_passages.text: Extract one word after a specific word on the same line
negative_passages.docid: 56129
negative_passages.text: Match with grep when pattern contains hyphen "-"
negative_passages.docid: 64291
negative_passages.text: What's a good way to filter a text file to remove empty lines?
negative_passages.docid: 123869
negative_passages.text: Reliably Remove Newlines From String
negative_passages.docid: 28702
negative_passages.text: How to remove line breaks (no characters!) from the string?
negative_passages.docid: 38429
negative_passages.text: How can I use inverse or negative wildcards when pattern matching in a unix/linux shell?