using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text.RegularExpressions;
public class Test
{
public static void Main()
{
var input = "CurrentTime=04/24/16 09:57:23\nsan-ls-02022;ENEXRHO;1505;{call Pm_I_AuthFailToPTSF(631706,-21,?)}\nass\nbbbb\nCurrentTime=04/24/16 09:57:23\n631706\naaa\nbbb\n";
var pat = @"(?m)^CurrentTime=([^\n]*)\n([^\n]*(?:\n(?!CurrentTime=)[^\n]*)*)";
var results = Regex.Matches(input, pat)
.Cast<Match>()
.Select(p => p.Groups[2].Value)
.ToList();
Console.WriteLine(string.Join("\n---\n", results));
}
}
dXNpbmcgU3lzdGVtOwp1c2luZyBTeXN0ZW0uQ29sbGVjdGlvbnMuR2VuZXJpYzsKdXNpbmcgU3lzdGVtLklPOwp1c2luZyBTeXN0ZW0uTGlucTsKdXNpbmcgU3lzdGVtLlRleHQuUmVndWxhckV4cHJlc3Npb25zOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewoJCXZhciBpbnB1dCA9ICJDdXJyZW50VGltZT0wNC8yNC8xNiAwOTo1NzoyM1xuc2FuLWxzLTAyMDIyO0VORVhSSE87MTUwNTt7Y2FsbCBQbV9JX0F1dGhGYWlsVG9QVFNGKDYzMTcwNiwtMjEsPyl9XG5hc3NcbmJiYmJcbkN1cnJlbnRUaW1lPTA0LzI0LzE2IDA5OjU3OjIzXG42MzE3MDZcbmFhYVxuYmJiXG4iOyAKCQl2YXIgcGF0ID0gQCIoP20pXkN1cnJlbnRUaW1lPShbXlxuXSopXG4oW15cbl0qKD86XG4oPyFDdXJyZW50VGltZT0pW15cbl0qKSopIjsKICAgIAl2YXIgcmVzdWx0cyA9IFJlZ2V4Lk1hdGNoZXMoaW5wdXQsIHBhdCkKICAgIAkJCS5DYXN0PE1hdGNoPigpCiAgICAJCQkuU2VsZWN0KHAgPT4gcC5Hcm91cHNbMl0uVmFsdWUpCiAgICAJCQkuVG9MaXN0KCk7CiAgICAgIAlDb25zb2xlLldyaXRlTGluZShzdHJpbmcuSm9pbigiXG4tLS1cbiIsIHJlc3VsdHMpKTsKCX0KfQ==