I want to get with `preg_match_all` from the following: 

```
[['p0',-1,[1,5,6,7,9,10],[['Text','ACER'],['Value','19'],['NavigateUrl','m-19-acer.aspx'],['Look-RightIconUrl','arrow.gif'],['Look-RightIconWidth','15']]] 

```

only the number inside the brackets. That is `1,5,6,7,9,10` or:

```
['p1',0,[2,3,4],[['Text','NOTEBOOK'],['Value','87'],['NavigateUrl','m-87-notebook.aspx'],['Look-RightIconUrl','arrow.gif'],['Look-RightIconWidth','15']]],['p2',1,[],[['Text','MONITOR >11"'],['Value','125'],['NavigateUrl','m-125-monitor-11.aspx']]],

```

That is: `2,3,4`.

I'm something missing with this pattern I use `/(\d{1,})(,|\])/`. Can not get the 1st number correct, sometimes the last, sometimes I get more numbers