$data =~ s/\n\|\|/\|\|/g; [download]
In reply to Re: A serch and replace question by PERLscienceman in thread A serch and replace question by ChuckularOne