remove newline chars in each record of file

Hi,

I have a fixed width file with record length 10.
I need to remove multiple newline characters present in each record.

EX:
af\n72/7\n
s\n3\nad\n
2\n\n33r\n
In the above file I want to remove new lines in red color(\n) but not (\n)

Please provide me a solution.

Thanks,
Sri

may be something like this works for you...

sed -e 's/\\n//g' inputfile | awk '{print $0"\\n"}'