Re: Re: preg_match question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Shawn McKenzie" <nospam@xxxxxxxxxxxxx> wrote in message 
news:E1.67.59347.E494C894@xxxxxxxxxxxxxxx
> 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! 



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux