RE: [PHP] very simple eregi / loop question

2002-06-07 Thread Scott Hurring
eregs) --- Scott Hurring Systems Programmer EAC Corporation [EMAIL PROTECTED] Voice: 201-462-2149 Fax: 201-288-1515 > -Original Message- > From: Robert [mailto:[EMAIL PROTECTED]] > Sent: Friday, June 07, 2002 4:46 PM > To: [EMAIL PROTECTED] > Subject: [PHP] very simple e

[PHP] very simple eregi / loop question

2002-06-07 Thread Robert
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,