title: RegEx match string with variable character
body: <p>I have a string like so</p>
  
  <pre><code>&lt;image id="1347292584243" x="377" y="217" width="304" height="110" 
     xmlns:NS1="http://www.w3.org/1999/xlink"
     NS1:href="../../bpdocs/docs/ded98560-61d0-42f2-944e-30280d54e94b/xskykg886745dsv8998e8fd5k668mz/images/w/a31ab754-22ce-43a6-be00-a374b4a8c87a.jpg"
     xmlns:NS2="" NS2:xmlns:xlink="http://www.w3.org/1999/xlink" bpw="304" bph="110" /&gt;
  </code></pre>
  
  <p>Within this string, I would like to match the following individual strings</p>
  
  <ol>
  <li><p>xmlns:NS1="http://www.w3.org/1999/xlink"</p></li>
  <li><p>xmlns:NS2=""</p></li>
  <li><p>NS2:xmlns:xlink="http://www.w3.org/1999/xlink"</p></li>
  </ol>
  
  <p>I'd like to match the above however in each part of these strings contains NS[x]. where x = variable number</p>
  
  <p>Could someone provide me with an expression to match something like this?</p>
  
  <p>Thanks</p>