title: Extract a specific string from a curl'd result
body: <p>Given this curl command:
      curl --user-agent "fogent" --silent -o page.html "<a href="http://www.google.com/search?q=insansiate" rel="noreferrer">http://www.google.com/search?q=insansiate</a>"</p>
  
  <p>* Spelling is intentionally incorrect. I want to grab the suggestion as my result.</p>
  
  <p>I want to be able to either grep into the page.html file perhaps with grep -oE or pipe it right from curl and never store a file.</p>
  
  <p>The result should be: 'instantiate'</p>
  
  <p>I need only the word 'instantiate', or the phrase, whatever google is auto correcting, is what I am after.</p>
  
  <p>Here is the basic html that is returned:</p>
  
  <pre><code>&lt;span class=spell style="color:#cc0000"&gt;Did you mean: &lt;/span&gt;&lt;a href="/search?hl=en&amp;amp;ie=UTF-8&amp;amp;&amp;amp;sa=X&amp;amp;ei=VEMUTMDqGoOINraK3NwL&amp;amp;ved=0CB0QBSgA&amp;amp;q=instantiate&amp;amp;spell=1"class=spell&gt;&lt;b&gt;&lt;i&gt;instantiate&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;span class=std&gt;Top 2 results shown&lt;/span&gt;
  </code></pre>
  
  <p>So perhaps from/to of the string below, which I hope is unique enough to cover all my bases.</p>
  
  <pre><code>class=spell&gt;&lt;b&gt;&lt;i&gt;instantiate&lt;/i&gt;&lt;/b&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;
  </code></pre>
  
  <p>I keep running into issues with greedy grep; perhaps I should run it though an html prettify tool first to get a line break or 50 in there.  I don't know of any simple way to do so in bash, which is what I would ideally like this to be in.  I really don't want to deal with firing up perl, and making sure I have the correct module.</p>
  
  <p>Any suggestions, thank you?</p>