In a filter How to strip CR/LF from text

I'm a UNIX admin somewhat new to OO.

 

I am getting data from a web page, and I need to remove all the line feeds from it to make one big, long line that I will then sort into variables.

 

How is it possible to filter results and remove all CR LF characters to create one block of text.

Been looking at this a while and cannot figure a regex to do it. 

 

Kind Regards

Graham