C# 使用正则表达式按指定长度分割字符串 string hexStr = "AB07C426"; string[] dataList = System.Text.RegularExpressions.Regex.Split(hexStr, @"(?<=G.{2})(?!$)");