Re: A problem with '"'
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: A problem with '"'

From: NurAzije <nurazije@gmail.com>
Date: Sun Oct 23 2005 - 13:05:30 CEST

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..
Received on Mon Oct 24 02:12:00 2005