replacing carriage return

Oct 31, 06

nothing fancy here, we’re just doing a regex replace on \r and replacing it with nothing. this is a different way of doing the same thing dennis already posted here. 😛

and because i know you want to know, here’s the ruby code too. 😛 note: i haven’t tested this, but it should at the very least put you in the right direction haha.