Comment
Comment by diamantidis_io
Hey!! No, the regex on the sed command takes care of it. It breaks the target into three parts. One before the ":", one between the ":" and the "##" and one for the rest, after the "##". Then it outputs only the first and the third part