title: How to extract All of reg expression matches from html page via JMeter
body: <p>I have a html page containing userIds of students. I need to extract all the userId values from this html page and use them in a parameter of JMeter HTTP request..</p>
  
  <p>For example i have following data on htm page.</p>
  
  <pre><code>&lt;input type="checkbox" StudentID="1503"
  &lt;input type="checkbox" StudentID="1504"
  &lt;input type="checkbox" StudentID="1505"
  </code></pre>
  
  <p>so on..</p>
  
  <p>The value I need to send in parameter is like this
  selectedIds= 1503,1504,1505 and so on..</p>
  
  <p>Now I am not sure how I can get the result that i need to send in my second request. I can extract &amp; use one value at a time but could not figure out how to get values like I require "1503,1504,1505..."</p>
  
  <p>Currently my Reg Exp extractor is like this</p>
  
  <p>Reference Name: myTestVar
  Reg Expression: StudentID="(.+?)"
  Template: $1$
  MatchNo: -1</p>
  
  <p>In my second request I am referencing to variable ${myTestVar}</p>
  
  <p>Please guide what else I need to do to get the results in desired way..</p>
  
  <p>"1504,1505,1506"</p>