I have a bunch of data, and I want to yank everything that matches the following regex to a register :

```
/'user': '[a-Z]*'

```

Is there any way to copy all the matches to a register in vanilla vim? I've looked at [this question](https://superuser.com/questions/224865/vim-select-text-highlighted-by-search), but it only works for one result, after pressing 'n' to go to the next result, it will use '//e' again and go to the end of the next result, instead of the beginning. 

I've also looked at [this SO question](https://superuser.com/questions/608170/vim-yank-multiple-non-continous-chunks-of-text-into-a-registers). It's almost exactly what I'm looking for, except I can't figure out how to change it to work with particular matches instead of the lines they are on.