A problem with '"'

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • NurAzije

    #16
    Re: A problem with '"'

    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_conten ts('http://www.php.net/manual/en/control-structures.fore ach.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<cou nt($match[0]);$i++)
    {
    echo $match[0][$i]."<br />";
    }
    ?>
    Thank you all, I learnd something new, Expressions..

    Comment

    Working...