
15.09.2008, 10:33
|
|
Флудер
Регистрация: 20.11.2006
Сообщений: 3,316
Провел на форуме: 16641028
Репутация:
2371
|
|
PHP код:
<?php
$str = '<h2 class="res_list_1" dir="ltr"><a href="http://123/" class="res-1-lnk" target="_blank" onmouseover="return omff(\'http://123/\')" onmouseout="omff()">';
preg_match('#<a href=\"(.*)\".*?class=#',$str,$matches);
echo $matches[1];
?>
|
|
|