in reply to Re: grep question using multiple lines
in thread grep question using multiple lines

This is what I was looking for, basically. Your original script still failed to clear the inbetween lines, but when I added one more \r before the alternation operator it worked to prefection:

^.*constant=(\w+@\w+\.\w+).*\r|^.*\r

returned:

barney@gmail.comwilma@aol.com

Perfecto! Thanks eye.

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot