How do I extract text in between strings with very specific pattern from a file full of these lines? Ex:
input:a_log.gz:make=BMW&year=2000&owner=Peter
I want to essentially capture the part make=BMW&year=2000
. I know for a fact that the line can start out as "input:(any number of characters).gz:" and end with "owner=Peter"