I've done an OCR on a pdf image and extracted the text. The OCR for some reason has converted a single space to a double carriage return line feed.
eg.
"\r\n\r\n"
The following doesn't work as I think my 4 characters are not really a stirng but 4 non printable CHARACTERS.
DocumentData = DocumentData.Replace(@"\r\n\r\n", "");
I only want to replace those 4 non printable characters with a space when they occur together.
How can this be achieved without too much fuss.
Is this what you want?