I think you could do it in php (and therefore asp too) by using string functions. But that solution would be a bit messy. You would need to look for <table </table - and get everything between those tags.
Cant be bothered to think about it too much so I had a quick look on the web and found this -
<?php
function get_string_between($string, $start, $end){
$string = " ".$string;
$ini = strpos($string,$start);
if ($ini == 0) return "";
$ini += strlen($start);
$len = strpos($string,$end,$ini) - $ini;
return substr($string,$ini,$len);
}
$string = "this [custom] function is useless!!";
echo get_string_between($string,"[","]");
// must return "custom";
?>
acknowledgements to -
http://uk2.php.net/strings
I'm told asp is very similar to php.
By the way I hope you're going to acknowledge the source of the material!