How to copy as extended, eg CRLF to \r\n
-
I would like to copy some existing text to the clipboard in extended notation, so that I can paste it into the Find or Replace textbox ready for a search-and-replace in Extended mode.
-
You don’t need to do this.
If you select some text containing line-endings and press Ctrl+f, when the Find what box is autopopulated, it will contain the line-ending – you won’t see it, but the characters will be there. -
@alan-kilborn Thank you yes, that’s fine for finding the text. I should have expanded further on my question by adding “ready for editing to remove or enter other extended characters such as line endings and other text, and then replace.” I want text with the extended notation which I can edit.
Alternatively, I’d be happy with the newlines changed to regular expressions like ^ or $. -
@patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:
I want text with the extended notation which I can edit.
You’d need to use an external method for that, i.e., a script.
@patrick-o-beirne said in How to copy as extended, eg CRLF to \r\n:
I’d be happy with the newlines changed to regular expressions like ^ or $
That isn’t the same as having line-ending characters in the Find data.