in reply to Re: Problem with String replace in file
in thread Problem with String replace in file
if I use
s/\|(?=\|)/|\\N/g; s/^\|/\\N|/; s/\|$/|\\N/g;
it replaces || with ||. The \N seems to be an invisible newline character, and I want it to just be '\N'.