For a server-side (PHP) solution, regular expressions are always a favourite.
// Your HTML variable
$html = "<td>
1 IRR = <b>0.0698</b> Gold
</td>";
preg_replace_callback("/<td>(?:[\s
]+)?([0-9\.]+) irr = <b>([0-9\.]+)<\/b> gold(?:[\s
]+)?<\/td>/im", function($m, $numa, $numb)
{
// Your first number is in $numa
// And your second is in $numb
}, $html);
For client side (js), you could use jQuery's filter function and a regular expression. It wouldn't be amazing in terms of performance but it would certainly do the trick.
var regexp = /^([0-9\.]+) irr = ([0-9\.]+) gold$/i;
$('td').filter(function()
{
return $(this).text().trim().match(regexp);
}).each(function()
{
var numbers = $(this).text().trim().replace(regexp, '$1,$2').split(',');
// Now `numbers` is an array with the two numbers inside
});