using System.Text.RegularExpressions;
public static void Main()
string pattern = "^[A-Za-z0-9]{8}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{4}-[A-Za-z0-9]{12}";
Regex rx = new Regex(pattern);
Console.WriteLine(rx.IsMatch("0bccf675-68c8-4f56-8a69-dc7b98c15139_DC1_ROAD1_20222222222"));