RE: [PHP] need help with preg_match

2003-02-08 Thread John W. Holmes
> Thank You very much! > It Really works the way I want it to. But i still have a slight problem. > The > script cant read the data if it is on several rows. For example: > > > text > > > > Is there a way to fix this problem? http://www.php.net/manual/en/pcre.pattern.modifiers.php In particu

Re: [PHP] need help with preg_match

2003-02-08 Thread joe
Thank You very much! It Really works the way I want it to. But i still have a slight problem. The script cant read the data if it is on several rows. For example: text Is there a way to fix this problem? Thank You! "Chris Hayes" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">ne

Re: [PHP] need help with preg_match

2003-02-08 Thread Chris Hayes
At 17:21 8-2-2003, you wrote: Hi I have to alter this code: http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\([^<]*)\<\/font>/i', $src, $matches)) echo'Match: '.$matches[1].''; else echo'No match !'; ?> It

[PHP] need help with preg_match

2003-02-08 Thread joe
Hi I have to alter this code: http://www.whatever.ee/', 'r'); for ($src = ''; !feof ($fp); $src .= fgets ($fp, 1024)); fclose ($fp); if (preg_match ('/\([^<]*)\<\/font>/i', $src, $matches)) echo'Match: '.$matches[1].''; else echo'No match !'; ?> It extracts the data (words) from