If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Using DOMDocument would be a more reliable way of getting the content attribute, and would allow a simpler regex. If you're trying to get more than this one value from the document, there might also be a significant performance improvement.