title: Scraping Google Search Results in PHP
body: <p>I would like to get the links from the search results. Can someone please help with with the regular expression to do this? I've got this, and it doesn't work:</p>
  
  <pre><code> preg_match_all("/&lt;h3(.*)&gt;&lt;a href=\"(.*)\"(.*)&lt;\/h3&gt;/", $result, $matches);
  </code></pre>