http://pt.stackoverflow.com/questions/140085/encontrar-valor-e-inverter

CSharp · Console

/Program.cs

using System;
using System.Text.RegularExpressions;
					
public class Program
{
	public static void Main()
	{
		var stringComHexadecimais = "13-00-00-00-73-63-63-64-5C-73-63-63-64-5F-61-78-74-72-65-65-30-30-31-13-00-00-00-73-63-63-64-5F-61-78-74-72-65-65-30-30-31-5F";
		var padrao = @"13-00-00-00-(([0-9a-fA-F]{2}-){19})";
		var re = new Regex(padrao, RegexOptions.IgnoreCase);
		var matches = re.Matches(stringComHexadecimais);
		
		foreach (Match match in matches) 
		{
     		Console.WriteLine("Match: " + match.Value);
			foreach (var groupRe in match.Groups) 
			{
				Console.WriteLine("Group: " + groupRe);
			}
		}
	}
}
;