PHP קוד:
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<?php
$source = file_get_contents("http://programart.co.cc");
preg_match_all("/\<a.+>(.+?)<\/a>/i",$source,$match);
foreach($match[0] as $value)
{
echo $value."<br />";
}
?>
דוגמא:
http://lasw.gamli.net/s.php
http://il.php.net/preg_match_all
תהנה

ואין בעד מה
