There are any number of scripts out there that will open a remote HTML document and grab the content between a start point and an end point you specify. You may be able to lift the regular expression used from one of the scripts listed here:
http://www.scriptsearch.com/PHP/Scri.../Web_Fetching/