Re: Findng a pattern
| From: | Rasmus Lerdorf | Date: | Sat, 05 Oct 2002 04:59:16 +0000 |
| Subject: | Re: Findng a pattern | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118938@lists.php.net to get a copy of this message | ||
You realize that you are asking us to help you violate the terms of
service of Google?
A direct quote from their terms of service:
"You may not take the results from a Google search and reformat and
display them, or mirror the Google home page or results pages on your
Web site."
-Rasmus
On Sat, 5 Oct 2002, Henry wrote:
> Thanks, but I don't want to uses google's SOAP interface, is there a preg
> type solution.
>
>
> "Rasmus Lerdorf" <rasmus@php.net> wrote in message
>
> news:Pine.LNX.4.44.0210042145330.28746-100000@www.lerdorf.com...
> > Google has a SOAP interface for this.
> >
> > On Sat, 5 Oct 2002, Henry wrote:
> >
> > > Dear All,
> > >
> > > Excuse my ignorance but I'm STILL a newbie to this aspect of PHP.
> > >
> > > $str="Results <b>1</b> - <b>10</b> of about
> > > <b>14</b>. Search took
> > > <b>0.04</b> seconds."
> > >
> > > I would like to look for the string above in a buffer of text. However I
> > > would like to find it even if the numeric are different. Furthermore I
> would
> > > like to know what the values are. Is there a simple way to do this?
> > >
> > > TIA
> > >
> > > Henry
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> > >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>