|
-
Dec 20th, 2003, 11:53 AM
#1
Thread Starter
Frenzied Member
Conditional Search and Replace?
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|