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.
|
---|