title: file_get_contents with preg_match receives errors
body: <p>I am trying to get some data of a website (taste.com.au) but i am not successful at getting data of an element with no class or id.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$url = "http://www.taste.com.au/recipes/15281/asparagus+with+sun+dried+tomatoes+and+basil";
  $html = file_get_contents($url);
  </code></pre>
  
  <p>This one works:</p>
  
  <pre><code>preg_match("/&lt;h1 itemprop=\"name\"&gt;(.*)&lt;\/h1&gt;/i", $html, $title);
  echo $title;
  </code></pre>
  
  <p>Where the html is:</p>
  
  <pre><code>&lt;td class="prepTime"&gt;
      &lt;em itemprop="prepTime"&gt;0:10&lt;/em&gt; //Data i want
      &lt;p&gt;To Prep&lt;/p&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>But i am not sure how to get the data of code like this:</p>
  
  <pre><code>&lt;td class="cookTime"&gt;
      &lt;em&gt;0:15&lt;/em&gt; //Data i want
      &lt;p itemprop="cookTime" datetime="PT15M"&gt;To Cook&lt;/p&gt;
  &lt;/td&gt;
  </code></pre>
  
  <p>**UPDATE: **Im still in need of help, i've tried adding in the start of the tag after it, still doesnt work.</p>