title: Regex to extract last elements from a list
body: <p>I can have as input the following list:
  <code>V1, V2, V3, V4, V5, V6, V7, V8, V9, V10</code></p>
  <p>I would need a regex that extracts the last 3 elements from the list above.
  So after applying the regex the list should look like: <code>V8, V9, V10</code></p>
  <p>I have tried this regex <a href="https://regex101.com/r/ORrooa/1" rel="nofollow noreferrer"><code>/^.*(?=((,.*){3})$)/</code></a>, it seems I'm getting close but I don't understand why when replacing with <code>$1</code> I get the output duplicated.</p>
  <p>Can anyone help me with an explanation? If I'm able to understand why this happens I should be able to correct it.</p>