I'm starting to learn regex in Javascript, can I do that?

Imagine I have the following string:

```
Car ball car ball circle happy

```

And I want to match by all instead of **ball**, an output like:

```
["Car", "car", "circle happy"]

```

Or, split when I find *ball* in my string:

```
["Car", "ball", "car", "ball", "circle happy"]

```

How can I do that?