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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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"
Any help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
CChris
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi ! is there a way to replace text with CR LF [Carriage Return/Linefeed] characters ?
how ?
thanks
Fabio
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
Hi!
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"
Any help
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)
http://sourceforge.net/forum/forum.php?thread_id=3255834&forum_id=331754
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.
CChris
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