title: c# get first instance of string
body: <p>I have a string with carriage returns in it I separate them using the following split:</p>
  
  <pre><code> string[] RemoveEmptySpace = result.Split(new string[] { "\n", "\r\n" }, StringSplitOptions.RemoveEmptyEntries);
  </code></pre>
  
  <p>so it becomes like this:</p>
  
  <pre><code>Server:  xxx
  Address:  xxx.xxx.11.10
  
  Non-authoritative answer:
  Name:    test.com
  Address:  xxx.xxx.888.555
  </code></pre>
  
  <p>now my question is how do i get the first instance of Address numbers only not the text e.g.'xxx.xxx.11.10'? the string comes from nslookup so it is dynamic the position may change...</p>
  
  <p>Thanks</p>