111,120
社区成员
发帖
与我相关
我的任务
分享


string content = "F123456789001";
MatchCollection mc = Regex.Matches(content, "^.(.{9})(.{3})$");
foreach (Match match in mc)
{
string first = match.Groups[1].Value;
string second = match.Groups[2].Value;
Console.WriteLine(first);
Console.WriteLine(second);
}
@"(?<=.).+(?=.)"//1
@".{3}$"//2