Ovg, posted just links to some topics. There are even more similar topics.
For example you can use also script FindStringsWithLineNumbers.js with search string term 1|term 2|term 3|...|term 25 which is a Perl regular expression OR expression. Of course a Find in Files with this Perl regexp OR expression or a Find with option List lines containing string can be used, too.
With a simple non regular expression replace searching for ^p and using just | as replace string the list of terms in a file can be converted into a Perl regexp OR expression as long as the terms do not contain regular expression characters. And if file ends with a DOS line termination, the last | must be removed after the replace converting the list to a Perl regexp OR expression.
Best regards from an UC/UE/UES for Windows user from Austria