Hi @Sudharsan_Ka
there was a small issue in regex pattern i proviede, there was some empty spaces issues
now try this way
you can get the count of values under scope
System.Text.RegularExpressions.Regex.Matches(input_data,“.*(?=Acord)”).Cast(Of Match).Select(Function(m) m.Value).ToList().Where(Function(r) r.ToString<>“”).Count.ToString