Regex matching over multiple lines
2360
My regex is matching too much. How do I make it stop?
105605
Find each line matching a pattern but print only the line above it
522
How to do multiple lines within braces?
47217
regex negative look around with 2 adjacent matches
1336
PHP preg_match to find multiple occurrences
50943
shell test whether multiple lines string contains specified pattern in last line
123398
How to match multiple occurrences of a substring
76081
Iterate over the lines of a string
43159
Print lines between (and including) two patterns
112689
Applying an ellipsis to multiline text
110326
Find both pattern and position of multiple regex matches in Ruby
51501
sed find and replace between two tags with multi line
50014
Problems with regex in grep
106334
extract value between two search patterns on same line
7288
Handling multiple regex matches in Ampscript
97272
Regex to strip line comments from C#
50383
How can I search for a multiline pattern in a file?