sed question from novice

My pipe delimited file is coming over with spurious �\� characters
inserted into some alpha fields,
which is causing the records to be split into 2.

Eg Abc|def|10/11\
AAAA|xyz
Lmn|opq|10/11BBBB|xyz
etc etc
I am having to go into vi, then enter / \ to locate each occurrence,
enter x to delete the character,
then enter shift and J to join the two into one.

I have been advised that I can use a �sed� type file to automate this,
but do not know how, nor the syntax to be used

Can anybody help ?

hello malts write the output ,how you want to see the input text
regards,
sanjay

Something like this?

sed '/\\$/N;s/\\\n/|/' file

thanks sanjay and franklin52 : the syntax from franklin52 works great. I thought I would try to write a script to prompt the user to enter both the input & output filenames at run time, and came up with :

echo 'Enter input file : \c'
read f1
echo 'Enter output file: \c'
read f2
sh sedfile < [f1] > [f2]

where sedfile is a file containing the syntax provided yesterday.
But the above doesn't recognise [f1].

Any further advice on how to handle this would be most grateful.

sedfile < $f1 > $f2

thanks jlliagre : I'll master the syntax yet !