^M is a representation for Carriage Return. s/\x0D//g; should have worked. s/\r//g; is another way.
In reply to Re: Regular expression to remove ^M
by ikegami
in thread Regular expression to remove ^M
by senthilv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |