What's the regex for this...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux