Consider the following string

```
var string ="border-radius:10px 20px 30px 40px";

```

I want to take those 4 values(10,20,30,40) and store them in an array.
To do that i wrote the following code:

```
var numbers=string.split('border-radius:');
numbers=numbers[1];
numbers=numbers.split("px");

```

My code is working five i get the output i want.My question is:Is there a cleaner code or a better code to achieve the same result?
Here is my output:

```
["10", " 20", " 30", " 40", ""]

```