Home > Article > Development Tools > How to change characters into newlines in notepad++
You can use Notepad, use the find and replace function, select the regular expression, enter the string you want to replace in the search target box, enter \r in the replace with box, and click Replace That’s it.
This is a very powerful function. You can use it to replace any string in batches. For example, if your link is
<a href="#" >123</a> <a href="#" >123</a> <a href="#" >123</a> <a href="#" >123</a>
without line breaks, you only need to search for \s, Then replace it with \r, then you can wrap everything, \s represents a space.
Extended information
##Notepad is a set of tools under the Windows operating system Text editor (software copyright license: GPL), has a complete Chinese language interface and supports multi-language writing (UTF8 technology).
Notepad is more powerful than Notepad in Windows. In addition to being used to create general plain text description files, it is also very suitable for writing computer program codes. Notepad not only has syntax highlighting, but also has a syntax folding function, and supports macros and plug-in modules that expand basic functions. ●Built-in support for up to 27 syntax highlighting displays (including various common source codes and scripts, which can well support .info file viewing), and also supports custom languages; ●Can automatically detect file types, display nodes according to keywords, nodes can be folded/opened freely, and indentation guide lines can also be displayed, and the code is displayed with a sense of hierarchy; ●Double windows can be opened, in Multiple sub-windows can be opened in the sub-window and the display ratio; ●Provides some useful tools, such as adjacent row swap positions, macro functions, etc... ●The selected item can be displayed The number of bytes of the text (instead of the number of words displayed by the general editor, which is very convenient in some cases, such as software localization); ●Regular matching strings and batch replacement; ●Powerful plug-in mechanism expands editing capabilities, such as Zen Coding.The above is the detailed content of How to change characters into newlines in notepad++. For more information, please follow other related articles on the PHP Chinese website!