Re: loking for a item in string?
| From: | Kevin | Date: | Sun, 07 Nov 2004 14:54:54 +0000 |
| Subject: | Re: loking for a item in string? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201427@lists.php.net to get a copy of this message | ||
On Sun, Nov 07, 2004 at 08:32:53AM -0600, Greg Donald wrote:
> On Sat, 6 Nov 2004 21:58:49 -0600, Dustin Wish with INDCO Networks
> preg_match() can do that.
>
> php.net/preg_match
>
Easiest possible way to do this ( for you the programmer ) is to slurp
the whole file in as a string and search for your pattern across
newlines