return all lines for a given character