title: How to get a url substring from a string in objective-c
body: <pre><code>&amp;lt;p&gt;&amp;lt;a href="http://vimeo.com/23486376" title="Rebecca Black's Friday on Rock Band"&gt;&amp;lt;img src="http://b.vimeocdn.com/ts/152/946/152946954_200.jpg" alt="Rebecca Black's Friday on Rock Band" /&gt;&amp;lt;/a&gt;&amp;lt;/p&gt;&amp;lt;p&gt;&amp;lt;/p&gt;&amp;lt;p&gt;Cast: &amp;lt;a href="http://vimeo.com/thenerdery" style="color: #2786c2; text-decoration: none;"&gt;The Nerdery&amp;lt;/a&gt;&amp;lt;/p&gt;
  </code></pre>
  
  <p>I got a string like above, I am wondering what's the best way in objective-c to get the "http://b.vimeocdn.com/ts/152/946/152946954_200.jpg" substring? NSScanner? NSString methods? Thanks!</p>
  
  <p>update: the string is actually:</p>
  
  <pre><code>&amp;lt;p&amp;gt;&amp;lt;a href=&amp;quot;http://vimeo.com/23333305&amp;quot; title=&amp;quot;Ad League Bowling Championship&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://b.vimeocdn.com/ts/151/787/151787049_200.jpg&amp;quot; alt=&amp;quot;Ad League Bowling Championship&amp;quot; /&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;p&amp;gt;Cast: &amp;lt;a href=&amp;quot;http://vimeo.com/thenerdery&amp;quot; style=&amp;quot;color: #2786c2; text-decoration: none;&amp;quot;&amp;gt;The Nerdery&amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;
  </code></pre>