Multiline pattern match using sed, awk or grep
158360
How can I "grep" patterns across multiple lines?
102186
How to capture multiline regex between two tags?
39116
sed : Ignore line starting whitespace for match
69593
Find files with matched whole lines from a file
147933
concatenate n lines with sed
29349
Printing with sed or awk a line following a matching pattern
137248
regular expressions / pattern matching on ubuntu command line
117802
How to use sed/grep to extract text between two words?
105605
Find each line matching a pattern but print only the line above it
82797
Regex to match any character including new lines
52690
Splitting text files based on a regular expression
129609
Grep searching two words in a line
4497
Delete specific line number(s) from a text file using sed?
117607
How to do a recursive find/replace of a string with awk or sed?
110498
How can I replace a newline (\n) using sed?
50962
Reading grep patterns from a file
64555
How to manipulate a CSV file with sed or awk?