I'd like to search a string for x0A and replace it with x0D0A, but only if x0A is not directly following x0D.
Reason is, I'm receiving bytes through a socket and displaying the results in a text box.
I thought this might be a good opportunity to use regular expressions, but not sure what the character sequence should be. Should I study regex more for this task or is there a better way to do it?
TIA,
Mike
