So I have a text block something like below,
#start
Line 1
Line 2
Line 3
#end
*--Similar blocks-*
I used this
Regex.Matches(text,@"#start(.*?)#end",RegexOptions.Multiline)
regex for this above block.
The thing is when I try matching this Regex through Notepad++ find options it works, but through C# Regex.Matches function it fails.
I don't know what exactly is the problem. But hope you people can help me ! :)