preg_match html table match
<p>Here's my PHP Code, I am currently having:</p>

<pre><code>function getStatus($file, $dob){
    $url = "http://www.passportindia.gov.in/AppOnlineProject/statusTracker/trackStatusForFileNoNew?fileNo=$file&amp;applDob=$dob";
    $data = file_get_contents($url);

    echo preg_match('/^&lt;table cellpadding=\"4\" cellspacing=\"4\" align=\"center\" width=\"100%\" role=\"presentation\"&gt;(.*)&lt;\/table&gt;/',$data, $converted);

    //$converted = preg_replace("/[^0-9.]/", "", $converted[1]);
    //return round($converted, 3); 
}
</code></pre>

<p>I would like to fetch all content between <code>&lt;table cellpadding="4" cellspacing="4" align="center" width="100%" role="presentation"&gt;</code> and <code>&lt;/table&gt;</code></p>

<p>Currently <code>preg_match</code> returns <code>0</code>.</p>

<p>Your support will be highly appreciated. </p>