Maybe it's a flavor thing. Testing on http://rereplace.com
Input
Line 1
>Line 2
>Line 3
Line 4
>Line 5
Last line
Test 1: pattern (>.*?)(\r\n[^>]|$)
replacement string = quote$1/quote$2
Result :
Line 1
quote>Line 2/quote
quote>Line 3/quote
Line 4
quote>Line 5/quote
Last line
Test 2: pattern (?:^>.+)(?:\n^>.+)*
replacement string = quote$0/quote
Result
Line 1
quote>Line 2
>Line 3/quote
Line 4
quote>Line 5/quote
Last line
Michael
"In theory, theory and practice are the same. In practice, they are not."
Albert Einstein