Re: [PHP] Re: Regular Expression to get the whole Comma Separated String in Array Key

2010-07-01 Thread Richard Quadling
On 1 July 2010 06:47, Gaurav Kumar kumargauravjuke...@gmail.com wrote: Hey Richard, Thanks!!! You have resolved my problem.. GK On Wed, Jun 30, 2010 at 7:42 PM, Gaurav Kumar kumargauravjuke...@gmail.comwrote: Hi All, Need help in resolving the below problem- I would like to get the

[PHP] Re: Regular Expression to get the whole Comma Separated String in Array Key

2010-06-30 Thread Jo�o C�ndido de Souza Neto
Not tested, but I think it should work: preg_match_all('/(\d+),/', $postText, $matches); -- João Cândido de Souza Neto Gaurav Kumar kumargauravjuke...@gmail.com escreveu na mensagem news:aanlktikdb_ismnkpomicxzsfzixg4dedznunrcimj...@mail.gmail.com... Hi All, Need help in resolving the

[PHP] Re: Regular Expression to get the whole Comma Separated String in Array Key

2010-06-30 Thread Gaurav Kumar
Hey Richard, Thanks!!! You have resolved my problem.. GK On Wed, Jun 30, 2010 at 7:42 PM, Gaurav Kumar kumargauravjuke...@gmail.comwrote: Hi All, Need help in resolving the below problem- I would like to get the whole comma separated string into an array value- 1. $postText = chapters