I have an dynamic string with for numbers and a unit. 

The unit can be changed to cm, %, ... but it is always the same for all 4 numbers. like *"10px 12px 14px 16px"* not *"10px 12% 14cm 16in"*

I need a reqular expression to give me a result like below:

```
string = "10px 12px 14px 16px" 
result = array = [ "10 12 14 16", "px" ]

```

Consider the reqular expression should match any unit not the only mentioned above. 

I have tried this but no luck:

```
var string = "10px 11px 13px 14px";
var match = string.match(/([0-9]+)(.*)/);
result: Array [ "10px 11px 13px 14px", "10", "px 11px 13px 14px" ]

```