Ignore Text and carriage return characters

I believe Strip is used only to remove trailing and leading white spaces. In my case I want to remove carriage returns/new lines