remove backslash character from file

How do I remove a backslash character \ from a file?

I have used

sed -e "s|\||g" filename > newfile

I have done several permutations on this to no avail such as:

sed -e "s|`\`||g" filename > newfile
sed -e "s|""\""||g" filename > newfile

What am I doing wrong?:confused:

Thanks in advance

 sed 's/\\//g' filename >newfile

You have escape a backslash by adding an escape character - the backslash

Worked like a charm, thanks so much.:smiley: