Home > Article > Development Tools > How to automatically wrap lines in Notepad
How to automatically wrap lines in notepad?
Step one: Let’s open an interface first.
Step 2: Find the view at the top of the software.
Related recommendations: "Notepad usage graphic tutorial"
Step 3: Click on the view and you will see a Automatic line wrapping, of course, you can also use the shortcut key ctrl W or directly set automatic line wrapping.
# Then I will tell you how to replace a string with a newline in notepad.
Step one: Let’s return to the main interface and find “Search” at the top of the software interface.
Step 2: On "Search", find Replace.
Step 3: Use the find and replace function, select the regular expression, enter the string you want to replace in the search target box, and enter\r in the replace with box , click Replace. This is a very powerful function. You can use it to replace any string in batches. For example, if your link is 123 123> ; 123 123 If there is no line break, you just need to search for \s and replace it with \r, then you can wrap all lines, and \s represents a space.
The above is the detailed content of How to automatically wrap lines in Notepad. For more information, please follow other related articles on the PHP Chinese website!