extracting text - regex

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

 



Hello,

I am trying read text out of a text that is inbetween two divs. Somehow this should be possible with regex, I just can't figure out how.

Example:

<div id="test">
bla blub
</div>

I would like to extract the text "bla blub" out of this example.

Has anybody an idea on how to do that? Is there a special php function available for this?

Thank you for any hint,

Merlin

--
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