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
Cory Reviewed by Cory on . A doubt about php's preg_match result. So, I have this html file that basicaly says: echo '<table> <tr> <td>Welcome to:</td> <td><strong>Hell</strong></td> </tr> </table>'; (whether this code is or not valid, does not matter.. Is just of the sake of having an example) Rating: 5