Possible Duplicates:
How to get string from HTML with regex?
RegEx match open tags except XHTML self-contained tags
Hey there.
So i have some HTML code that i need to parse. I was wondering what the regex would look like to do this?
Basically the HTML is a large HTML document. The structure looks something like this.
//Random HTML
//Random HTML
//Random HTML
<h4>Description</h4>
<p>This is the text i need</p>
//Random HTML
//Random HTML
//Random HTML
This is for a PHP script. Hope this make sense?