Well, this is a hard job for UltraEdit. My Windows Explorer replacement tool
Total Commander is capable for searching in *.cpp;*.h;*.c files in one or more specified directories including subdirectories which does NOT contain a specified string.
If you want to do it with an UltraEdit macro, you first have to run a FindInFiles with a search string which is found in all your files (for example the space if you don't have a string which is not so often found) with results to an edit window. Then remove everything from the result except the file names with full path to get a file which contains all filenames with *.cpp;*.c;*.h in the specified directory and below.
At
Send all open file names to tool I have posted such a "Get File List" macro, but it's not working anymore for UltraEdit v12.00 and above because of some bugs (since UE 12.00 the result file is an Unicode file and finds+replaces and the sort are not working properly on Unicode files and there is also a focus problem with FindInFiles with parameter Log). I have in my emails to IDM storage a macro which works for all versions of UE because it has many extra codes as workarounds for the known bugs. I can post it if you are interested in.
Next you need a second FindInFiles searching in the same files but now for the copyright string. Also the result of this search is logged to an edit window and again everything except the file names must be removed from this result file.
The last part of the macro know removes the file names from the second search in the result list of the first search. What you get is a list of files which does not contain the copyright string.
The idea is quite simply but the implementation is very hard because of many UE bugs with FindInFiles and Unicode handling and especially if the macro should be also independet of the version of UltraEdit and UEStudio.
Maybe when I have time I will write a macro for general usage of "Find files which do NOT have a specified string".
But the usage of Total Commander for this job is MUCH MUCH easier and faster.