OK, I'm a little new to this, else I would have known that.  Any examples
out there I could use/modify?  

thanks,
pete

-----Original Message-----
From: CC Zona [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 2:16 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] search a text file


In article 
<[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Peter Benoit) wrote:

> I've got a bit of a task where I need to poll a text file for several
lines
> of text which is buried deep within the file.  These lines change each
day,
> but the text surrounding them do not.
> 
> Is it possible to extract these lines of information based on the text
> surrounding them?

Sure.  preg_match() would be one way.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to