You can use a regular expression for something simple like this.
preg_match_all('/\b\d{4}-\d{2}-\d{2}\b/', $html, $matches);
print_r($matches[0]);
But I recommend using a parser such as DOM instead to extract these values.
// Load your HTML
$dom = DOMDocument::loadHTML('
<tr> <td>foo bar</td> <td>123456789</td></tr>
<tr> <td>Account Registered :</td> <td>2008-02-02</td></tr>
<tr> <td>Account Updated :</td> <td>2014-02-01</td></tr>
<tr> <td>Account Expires :</td> <td>2015-02-02</td></tr>
<tr> <td>something else</td> <td>foo</td></tr>
');
$xp = new DOMXPath($dom);
$tag = $xp->query('//tr/td[contains(.,"Account")]/following-sibling::*[1]');
foreach($tag as $t) {
echo $t->nodeValue . "\n";
}
// 2008-02-02
// 2014-02-01
// 2015-02-02
If you are unsure of the requirements for the prefix i.e (Account could change), simple fix would be to validate.
$xp = new DOMXPath($dom);
$tag = $xp->query('//tr/td/following-sibling::*[1]');
foreach($tag as $t) {
$date = date_parse($t->nodeValue);
if ($date["error_count"] == 0 &&
checkdate($date["month"], $date["day"], $date["year"])) {
echo $t->nodeValue . "\n";
}
}
// 2008-02-02
// 2014-02-01
// 2015-02-02