Posted by NurAzije on 10/23/05 14:05
thank you I changed it..
I have made a code which will work well for my home work, don't need
more than that:
<?
$data =
file_get_contents('http://www.php.net/manual/en/control-structures.foreach.php');
$match = array();
preg_match_all('/[a-zA-Z0-9._-]+(@| at | AT )([a-zA-Z0-9._]+(\.| dot |
DOT )[a-zA-Z0-9]+)/', $data, $match);
for($i=0;$i<count($match[0]);$i++)
{
echo $match[0][$i]."<br />";
}
?>
Thank you all, I learnd something new, Expressions..
[Back to original message]
|