How to's Replace character with new line vi admin August 23, 2016 :s/,/,^M/g To get the ^M character, type ctrl-v and hit enter. Under Windows, do ctrl-q enter. ← Center Nextgen gallery in WordPress on mobile devices SSH Login Without Password →