hi ! is there a way to replace text with CR LF [Carriage Return/Linefeed] characters ?
Open the find/replace dialog.
At the bottom will be some Search mode options. Select "Extended (\n \r \t \0 \x...)"
In either the Find what or the Replace with field entries, you can use the following escapes:
\n new line (LF)
\r carriage return (CR)
\t tab character
\0 null character
\xddd special character with code ddd
I have Notepad++ 5.3.1, WinXP SP3
I have tried to do some replacement in a file with text and a lot of NUL chars.
I've tried to replace using extended search the char \0 with anything (space, tabs, other character...), and then selecting "Replace All" and I get an error: "The regular expresion to search is formed badly"
PLEASE, PLEASE, PLEASE LOOK BEFORE POSTING (AGAIN AND AGAIN AND AGAIN...)
The following thread is on the very same forum, was started a few days ago, and is not that far from the top of the list:
" How to replace a character with a line break?" (Help Forum)
Concerning the NUL characters, they should be entered as \x00. \0 is a construct that makes sense in regular expressions only. Also, make sure the search mode is Extended.
Thanks Christian, but I'm also unable to replace using \x00 instead \0. Also tried the three search modes: Normal, Extended and Regular Expression. No luck