I really enjoy working with Notepad++ on XML files. There is one feature that I use often that isn't available, or I can't find it, is the ability to Find/Replace line breaks or hard returns, so I have to either turn to GoLive or Dreamweaver. Is there an option for this somewhere and just can't find it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Perhaps it would be better to link to one of the many former messages, in which this is discussed before. This will also avoid answers being unclear, resulting in only more messages about the same subject.
If you have a question, first look for an answer. Then, if you can't find it, ask your question.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I really enjoy working with Notepad++ on XML files. There is one feature that I use often that isn't available, or I can't find it, is the ability to Find/Replace line breaks or hard returns, so I have to either turn to GoLive or Dreamweaver. Is there an option for this somewhere and just can't find it?
View in hex with hex plugin and find/replace at will
You can do it in the Advanced Replace.
TextFX -> TextFX Quick -> Find/Replace (or CTRL-R)
Use CTRL-M for line breaks.
It depends on how hard your returns are...
Perhaps it would be better to link to one of the many former messages, in which this is discussed before. This will also avoid answers being unclear, resulting in only more messages about the same subject.
If you have a question, first look for an answer. Then, if you can't find it, ask your question.
Ends-of-lines is hard. But now this thread covers it since the two methods of doing anything with end-of-lines (that isn't standard regex) are here:
You can do it in the Advanced Replace.
TextFX -> TextFX Quick -> Find/Replace (or CTRL-R)
Use CTRL-M for line breaks.
AND
View in hex with hex plugin and find/replace (at will :
Plugins -> HEX-Editor -> View in HEX CTRL+Alt+Shift+H (toggle)
(and Ctrl+F/H/R to bring up the find/replace dialogs)
"0d 0a" is both carriage-return and newline (too bad \r\n doesn't work in ascii)