I am trying to write regular expression to capture data, but struggling to finish it.

From the data:

```
Code:Name Another-code:Another name

```

I need to get an array:

```
['Code:Name', 'Another-code:Another name']

```

The problem is that Codes can be almost anything but space.

I know how to do it without using regular expressions, but decided to give them a chance.

**UPDATE:** Forgot to mention that number of elements can vary from one to infinity. So the data:

```
Code:Name -> ['Code:Name']
Code:Name Code:Name Code:Name -> ['Code:Name', 'Code:Name', 'Code:Name']

```

is also suitable.