The reason you get this behavior is because your first split delimiter has nothing before, and this first record is empty.
The way to resolve this issue is probably to capture the value you want in the regular expression, and then just get it from the set of matches.
, , - :
Regex r = new Regex(@"^:(?<id>\d{2}\w*):(?<content>.*)$", RegexOptions.Multiline);
MatchCollection matches = r.Matches(Content);
foreach (Match match in matches)
{
MessageField field = new MessageField();
field.FieldIdExtended = match.Groups["id"].ToString()
field.Content = match.Groups["content"].ToString();
Fields.Add(field);
}
. , . 20 id 0444453880181732 . 100% , , , , .:)
, .