I am trying to regex capture following string into three different groups, ie **url**, **status** and **limit**. Below is the string that I wish to capture

```
url:https://test.com:status:200:limit:100

```

In a sense, I would like something:

```php
$string = 'url:https://test.com:status:200:limit:100'; // string
$regex = regex_match('/regex/', $string, $matches); // regex
$i = 0; // counter
$array = array(); //array

foreach($matches as $match)
{
   array_push($match['url'] => $match)
   $i++;
}

```

So that it would produce an array that consists of this:

```
Array
(
    [0] => Array
        (
            [url] => https://test.com
            [status] => 200
            [limit] => 100
        )

)

```

Thanks a lot in advance!