title: Is there any way to "substitute" numbers in string C#?
body: <p>I have html code, which I need to parse on the fly. I need to find exact divs there, which all have id of "content-text-" and then 6 numbers (like "content-text-123456"), which I don't know beforehand. Is there any way to "substitute" the numbers at the end of the string I'm searching for (like "content-text-######")? Searching for "content-text-" does not work.</p>
  
  <p>I'm doing this project on Windows Phone 8.1 with C# if it matters.</p>
  
  <p>EDIT:</p>
  
  <pre><code>WPPageResponse response = JsonConvert.DeserializeObject&lt;WPPageResponse&gt;(json);
  
  HtmlDocument doc = new HtmlDocument();
  doc.LoadHtml(response.content);
  
  foreach (var node in doc.DocumentNode.Descendants("div").Where(div =&gt; div.GetAttributeValue("id", "") == "content-text-######"))
              {
                  // Gather data what it returns
              }
  </code></pre>
  
  <p>Here is some code if it helps. It works if I know the numbers and search with them, but the thing is that I can't know all the numbers there.</p>