How to make regex match across multiple lines in Notepad++?

All you need to do is check . matches newline in Notepad++ Search/Replace Search Mode:

enter image description here

This will make the dot . in your regex match newline, so .* will match any number of newlines.


The problem is in notepad version. Updated to notepad++ v6.1.8 and this regular expression worked \,[\r\n\s]*\}