Thanks

"Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message
001201c26c2c$5b7091a0$0500a8c0@BAMBINO">news:001201c26c2c$5b7091a0$0500a8c0@BAMBINO...
>
>
>
> Timothy Hitchens (HITCHO)
> [EMAIL PROTECTED]
>
> HITCHO has Spoken!
>
>
>
>
>
>
> -----Original Message-----
> From: Henry [mailto:[EMAIL PROTECTED]]
> Try this.. but take what Rasmus says if you are talking about Google:
>
> <?php
>
> $string = "Results <b>1</b> - <b>10</b> of about <b>14</b>.   Search
> took <b>0.14</b>seconds.";
>
> preg_match_all("/[0-9]+[.]*[0-9]*/", $string, $result);
>
> print_r($result);
>
> ?>
>
>
> Timothy Hitchens (HITCHO)
> [EMAIL PROTECTED]
>
> HITCHO has Spoken!
>
>
>
>
>
>
> Sent: Saturday, 5 October 2002 2:50 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Findng a pattern
>
>
> Yes
>
> The string will always be the same and the repective values will always
> have the same meaning.
>
> "Timothy J Hitchens" <[EMAIL PROTECTED]> wrote in message
> 001101c26c2b$55adc400$0500a8c0@BAMBINO">news:001101c26c2b$55adc400$0500a8c0@BAMBINO...
> > Are the value in the same order each time?
> >
> >
> > Timothy Hitchens (HITCHO)
> > [EMAIL PROTECTED]
> >
> > HITCHO has Spoken!
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Henry [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, 5 October 2002 2:44 PM
> > To: [EMAIL PROTECTED]
> > Subject: Re: [PHP] Findng a pattern
> >
> >
> > Thanks, but I don't want to uses google's SOAP interface, is there a
> > preg type solution.
> >
> >
> > "Rasmus Lerdorf" <[EMAIL PROTECTED]> wrote in message
> > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > > 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
> >
> >
>
>
>
> --
> 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

Reply via email to