in reply to A serch and replace question
If you are trying to replace the "\n||" with a simple "||", why not simply do this?:
$data =~ s/\n\|\|/\|\|/g;
In Section
Seekers of Perl Wisdom
in reply to A serch and replace question
$data =~ s/\n\|\|/\|\|/g;