title: Getting HREF of an <a> tag with preg_match_all and curl
body: <p>It's been a couple of days now that I am trying to find a way to solve my problem. I use CURL to get the content of a webpage and then use prey_match_all to use the content on my style, but I've got a problem when it's time to find some &lt; a > tags in the document.</p>
  
  <p>I want preg_match_all to find all &lt; a > tags that are followed by a &lt; strong > tag and than store all href values of these &lt; a > tags in a array variable. </p>
  
  <p>Here's what I've thought : </p>
  
  <pre><code>preg_match_all("~(&lt;a href=\"(.*)\"&gt;&lt;strong&gt;\w+&lt;\/strong&gt;)~iU", $result, $link);
  </code></pre>
  
  <p>It's returning me : </p>
  
  <pre><code>Array ( [0] =&gt; Array ( ) [1] =&gt; Array ( ) [2] =&gt; Array ( ) )
  </code></pre>
  
  <p>Can somebody help me please !!</p>