very simple eregi / loop question
| From: | Robert | Date: | Fri, 07 Jun 2002 20:45:43 +0000 |
| Subject: | very simple eregi / loop question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-101190@lists.php.net to get a copy of this message | ||
How would you loop though a file ( or web page) and get all of a certain
thing. I'm trying to strip stuff out of tables, but I have only managed to
get the first of what I'm searching for. My expression is
eregi("[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}", $search, $content);
which does the job, but how do I apply that to get all of that from the
page?
thanks
--
------------------------------------------------------------
Robert Packer
Programming and Design Associate
814-944-1108
robert@nrc.net
-- NRC Online --
------------------------------------------------------------