1. Introduction
When debugging the code and locating the problem, because there are many log prints, it is necessary to use the NotePad++ text editor to search, and it is necessary to search for multiple strings at the same time. This article introduces how to search for multiple strings at the same time for reference.
Two, operation steps
2.1 Search settings
Use the shortcut key "Ctrl + F" to search, and check the regular expression option:
2.2 Enter the string to be searched
Enter "Messages|File Name" and use "|" to separate the strings:
the search results are as follows, and you can see that both strings are included in the search results:
Three, summary
This article introduces how to use NotePad++'s regular expression to search for multiple strings, for reference.