Replace special text with sed?
- by user143822
I'm using CMD on Windows Xp to replace special text with Sed. I'm using this command for replace special characters like $ or * :
sed -i "s/\*/123/g;" 1.txt
But how command must i use to replace this strings with ciao! in my text files? Is possible?
\\
\\\
""
sed.exe -i "s/{\*)(//123/
sed -i "s/\\/123/g;" 1.txt
the previous command does not work because i have \, " and other special strings that sed use to make regex.