using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.RegularExpressions; public class Test { public static void Main() { var s = "37513220102304920105590"; var result = Regex.Matches(s, @"(?=([34][0-9]{10}))") .Cast() .Select(m => m.Groups[1].Value) .ToList(); foreach (var st in result) Console.WriteLine(st); } }