Search for two sequential patterns with any number of characters in between using grep
134860
Match two words that is on the same line
77125
Print all lines between a searched pattern of a text file to different file
35989
Match a pattern only when NOT preceded or followed by another pattern
65417
How to get all lines between first and last occurrences of patterns?
75160
Matching a sentence with grep
57165
How do I grep lines ending on a specific expression
97352
split file into two parts, at a pattern
16787
How to select first occurrence between two patterns including them
129609
Grep searching two words in a line
8298
How to find/grep what is between string1 and string2?
47616
Grep in couple thousands files
76357
Find shortest matches between two strings
173
Multiline pattern match using sed, awk or grep
128116
How to find patterns across multiple lines using grep?
7657
Find pattern from one file listed in another
92432
Matching text using grep or awk
115875
Fastest possible grep