string pattern = "mul([0-9]+,[0-9]+)" Regex rg = new Regex(pattern);