|
|
|
| Подскажите как вытащить из этой строки:
<div class="s">The <em>Hebrew University of Jerusalem</em> is one of Israel's largest and most important academic centers. With 22600 students enrolled every year, <b>...</b><br><cite>
|
Вот эту часть:
The <em>Hebrew University of Jerusalem</em> is one of Israel's largest and most important academic centers. With 22600 students enrolled every year, <b>...</b>
|
Помогите очень надо. | |
|
|
|
|
|
|
|
для: maloi_m3
(09.02.2009 в 23:21)
| |
<?
$text= "<div class=\"s\">The <em>Hebrew University of Jerusalem</em> is one of Israel's largest and most important academic centers. With 22600 students enrolled every year, <b>...</b><br><cite>";
$GrabStart = "<div class=\"s\">"; // от куда грабим
$GrabEnd = "<br><cite>"; // до куда грабим
$GrabData = eregi("$GrabStart(.*)$GrabEnd", $text, $DataPrint);
$rezult = $DataPrint[1];
echo $rezult;
?>
|
| |
|
|
|