You are here: Re: A problem with '"' « PHP Programming Language « IT news, forums, messages
Re: A problem with '"'

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..

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация