Home >Development Tools >notepad >How to delete entire lines with keywords in notepad

How to delete entire lines with keywords in notepad

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-08-09 16:50:069131browse

How to delete entire lines with keywords in notepad

For example, you want to delete the row with "delete". As shown below:

How to delete entire lines with keywords in notepad

Related recommendations: "Notepad using graphic tutorial"

Open replacement and enter in the search target input box .*delete.*\r\n, use unix newline input .*delete.*\n, replace it with the input box and keep it blank, select regular expression for search mode, as shown in the figure:

How to delete entire lines with keywords in notepad

Select Replace All, you will see that the two lines with delete have been deleted, and you are done, as shown in the picture:

How to delete entire lines with keywords in notepad

The above is the detailed content of How to delete entire lines with keywords 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