/// <summary> /// Extracts the product's name from a single product's html /// </summary> /// <param name="itemHtml">Single product result html</param> /// <returns>Name of product</returns> public static string GetProductName(string itemHtml) { string productNamePattern = @"(?<= title="").*?(?="" )"; string match = GetSingleRegExMatch(itemHtml, productNamePattern); if (match.Length == 0) { return(null); } string productName = Scraper.DecodeHTML(match); return(productName); }