senthilv has asked for the wisdom of the Perl Monks concerning the following question:
^M is visible only in Vi editors ...s/\^M//; s/\^M$//; s/^M//; s/\x0D//;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Regular expression to remove ^M
by ikegami (Patriarch) on Jan 20, 2007 at 10:47 UTC | |
|
Re: Regular expression to remove ^M
by Zaxo (Archbishop) on Jan 20, 2007 at 20:55 UTC |