Hey Guys, I'm looking for a bit of help with setting variables.

I'm trying to make a script to check my status on a web page.

The web page displays in this format

<div class="divclass">info goes in here</div><div class="divclass2">more info goes in here</div>

I have already created a script to obtain the html from the page, but I need some way to set the information into variables. I need to know if its possible to set a variable starting after the <div class="divclass"> and ending at the </div>, or even to set the entire variable and $remove the div classes. I've used this method before, but because of this web-page the class doesnt start at the beginning of the line, so I cant just set the entire line as the variable and $remove, because theres too many variables in the line.

Thanks


Swift as the Wind
Silent as a Forest
Fierce as Fire
Immovable as a Mountain