Regex for multi line search that should select text "abc" which comes before the text "xyz" and should not select anything except "abc"
1388
Learning Regular Expressions
1177
Regular expression to match a line that doesn't contain a word
75574
What regex to use for this
128484
How to filter string for unwanted characters using regex?
98761
Regular expression to match any empty line or any line starting with a specified character
154030
Regex: find whatever comes after one thing before another thing
60826
Regular expression matching a multiline block of text
2360
My regex is matching too much. How do I make it stop?
133909
regex to allow atleast one special character, one uppercase, one lowercase(in any order)
99390
Regexp that matches valid regexps
29766
How to delete whole text from the beginning of a line with a certain string
72253
Excluding tags from search results
94281
How can I grep for a string containing regex metacharacters like $ and '?
75453
How do I remove newline character from lines preceding a particular pattern?
126527
jQuery selector :contains - Use regular expressions
92414
RegEx to make sure that the string contains at least one lower case char, upper case char, digit and symbol
115046
grep one line before the match plus the match