replace | by \n and vice versa added