Align / format streams by pattern