Notepad++ is a good tool to use in daily work. It has strong fonctionalities.

Here i want to introduce the usage of notepad++ in my work.


1) Replace the rest of the line

For example, the sentence is: This is a good season, you have to enjoy it!

I want to replace the latter characters after good by space.

You need to click the "search mode" -> "regular expression", and then type "good.*" in the find what bar, and then type " " in replace with bar.


2) Format html or xml

The image shows how to format your html code :


Use regular expression in notepad++

相关文章: