I need to make a regular expression (I’m using notepad++ for searching text files) that matches all copyright lines without my company name:
// Copyright MyCompany
// Copyright OtherCompany
// Copyright OtherCompany2
It should match the second line & third line but not the first line. Is this possible at all?
(I’ve seen the discussion here: Regular Expression to exclude set of Keywords but it doesn’t seem to work in notepad++. Also, is it wrong to be using an editor for this?)
I would suggest getting Cygwin if you are on Windows, otherwise just use the command line and go with
EDIT: Modified to answer the question better.