Home  >  Article  >  Development Tools  >  How to replace words with line breaks in notepad

How to replace words with line breaks in notepad

(*-*)浩
(*-*)浩Original
2019-08-03 13:49:546372browse

You can use Notepad, use the search 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.

How to replace words with line breaks in notepad

This is a very powerful function. You can use it to replace any string in batches. For example, your link is 123 123 123 123. If there is no line break, you only need to search for \s and replace it with \r, then you can wrap all lines. \s represents a space. (Recommended learning: Use of notepad)

How to replace words with line breaks in notepad

The above is the detailed content of How to replace words with line breaks in notepad. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn