Like post #2 I prefer to use DOM for this type thing but something else I tend to do is use negatives in my regex so like this where $html contains the html/string:
Code:
if ( preg_match( '/<h1 class="video-title[^"]+">([^<]+)/', $html, $m ) )
{
// var_dump($m);
$h1 = $m[1];
}
edit: Ah I see ray had a similar thought.