title: JMeter regex extractor forEach controller
body: <p>I'm creating some tests with JMeter, the situation is very simple, I have a search page with a list of results, and I have to retrieve from this results some values to use in the next request.
  Those results are around 350, I don't need them all.</p>
  
  <p>I used the RegexExtractor to retrieve those results and it works (I setted it to retrieve just 10 results), but now I don't know how to access the results inside a LoopCounter.
  The extractor put the results into a variable named Result.</p>
  
  <p>The problem is that I don't know hot to build dinamically the name of a variable.
  Do I have to use some function like _p()??
  I can access the variable just putting the <strong>static</strong> name <em>Result_0_g1</em></p>
  
  <p>Inside the LoopCounter I putted also a Counter to store the loop count into the variable <strong>index</strong></p>
  
  <p>Thank you</p>
  
  <p>EDIT:</p>
  
  <p>SOLVED I have to write:</p>
  
  <blockquote>
    <p>${__V(Result_${index}_g1)</p>
  </blockquote>