using System.Text.RegularExpressions;
public static void Main()
string pattern = @"(?s)#{(.*?)*}#";
string strInputMultiple = "#{{<div class=\"\">{{Meth[#0#]}}</div>}}#" +
"<div class=\"form-group form-col-2\">" +
"#{{<div class=\"form-group-inline\">" +
"<label>{{ABCDEF}}</label>" +
"<div class=\"form-group form-col-2\">" +
"#{{<div class=\"form-group-inline\">" +
"<label>{{DEFGHI}}</label>" +
MatchCollection matches = Regex.Matches(strInputMultiple, pattern);
foreach (Match m in matches)
foreach (Capture capture in m.Captures)
Console.WriteLine(capture.Value.Replace("\"",""));