title: Using MATLAB to parse HTML for URL in anchors, help fast
body: <p>I'm on a strict time limit and I really need a regex to parse this type of anchor (they're all in this format)</p>
  
  <p><code>&lt;a href="20120620_0512_c2_1024.jpg"&gt;20120620_0512_c2_102..&amp;gt;&lt;/a&gt;</code></p>
  
  <p>for the URL</p>
  
  <p><code>20120620_0512_c2_1024.jpg</code></p>
  
  <p>I know its not a full URL, it's relative, please help</p>
  
  <p>Here's my code so far</p>
  
  <pre><code>year = datestr(now,'yyyy');
  timestamp = datestr(now,'yyyymmdd');
  html = urlread(['http://sohowww.nascom.nasa.gov//data/REPROCESSING/Completed/' year '/c2/' timestamp '/']);
  links = regexprep(html, '&lt;a href=.*?&gt;', '');
  </code></pre>