Write a regex to capture comma-separated values.
Here's an example regex you could use in a programming language such as Python or JavaScript to capture comma-separated values:

```([\w\s]+)(,\s*[\w\s]+)*```

This regex captures one or more word or whitespace characters followed by zero or more comma-separated groups of word or whitespace characters. The `\s*` allows for any amount of whitespace between the comma and the next value.
Complete the following task based on the instruction and optional input provided.### Instruction:
Write a regex to capture comma-separated values.

### Output:
Here's an example regex you could use in a programming language such as Python or JavaScript to capture comma-separated values:

```([\w\s]+)(,\s*[\w\s]+)*```

This regex captures one or more word or whitespace characters followed by zero or more comma-separated groups of word or whitespace characters. The `\s*` allows for any amount of whitespace between the comma and the next value.