What's the regex for this...?

From: Date: Tue, 04 Jul 2006 23:50:03 +0000
Subject: What's the regex for this...?
Groups: php.general 
Request: Send a blank email to php-general+get-239128@lists.php.net to get a copy of this message
I have the source of a web page stored in $here and I want to set $this to whatever appears between '<span class="myclass">' and '</span>'. Example: $here contains (amid tons of other stuff): <span class="myclass">This is a statement.</span> I want to set $this to "This is a statement." Seems simple but I'm banging my head against a wall and can't figure out how to do it... can anyone help out a dude on the 4th of July?? :) :) - Brian

« previous php.general (#239128) next »