RED – How to find text on multiple lines

Here is your regular expression of the day:


Notice that this will skip empty lines so if your text is double spaced or more a match will still be made.  Also notice that the second line can start with any amount of white space, which helps a lot when you indent your lines with spaces or tabs.

Happy Searching!

Author: sirspot

I write software, love my wife and kids, do various house projects, play video games when I have time, and could use a little more sleep