When the question was asked, the correct answer was that you could not do it in Notepad ++ because its regular expression flavor did not support regular expressions matching multiple lines and lookahead (both of which are needed in this regular expression).
However, Notepad ++ has a much more powerful regex engine these days - as version 6.0 supports full pcre regexes. This means that your regex, as stated in the question, just works. Thus, I believe that the correct answer will now be simply "open the search menu, enter your regular expression, select the regular expression for the search mode and click" Search ".
source share