http://qs321.pair.com?node_id=303605


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;

Replies are listed 'Best First'.
Re: Re: A serch and replace question
by Anonymous Monk on Oct 31, 2003 at 19:17 UTC
    Thanks, that got it. The scary thing is that I'm certain I tried that already. But, to be honest with you I don't care that it didn't work before. I'm just greatful it works now.

    Thanks again

    -Chuckularone