Re: Re: preg_match question...
| From: | Frank Stanovcak | Date: | Fri, 06 Feb 2009 15:45:58 +0000 |
| Subject: | Re: Re: preg_match question... | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-287821@lists.php.net to get a copy of this message | ||
"Shawn McKenzie" <nospam@mckenzies.net> wrote in message
news:E1.67.59347.E494C894@pb1.pair.com...
> bruce wrote:
>> hmmm...
>>
>> tried your preg__match/regex...
>>
>> i get:
>> 0 - 1145 total
>> 1 - 1145
>> 2 - l
>>
>> i would have thought that the 2nd array item should have had "total"...
>>
>
> Probably want this: '#(\d+)(.+)#'
>
> --
> Thanks!
> -Shawn
> http://www.spidean.com
yep. Relized it after I saw his post.
the space doesn't hurt either
'#(\d+) (.+)#'
Frank...doh!