PHP Code: 
preg_match ("/(<h1)(.*?)(>)(.*?)(<\/h1>)/i"$data$match);
$found $match[4]; 
That's how I do it...Works good, I wrote a script that scans a download file and parses a specific html tag, in this case <h1 -- Based off some code I use to parse a title of a webpage by getting <title>

So it's possible.

Might have to play with $matches (no pun intended) to find the match, 0-w/e prolly be 0-1