title: Jmeter Token value extraction
body: <p>Using Jmeter I was trying to extract the value of a token from the following, using the regular expression extractor:</p>
  
  <pre><code>&lt;input name="__RequestVerificationToken" type="hidden" 
      value="BeRYiSIRjZoQHq4VW8qbkgXlnnzdUINpFNoYF_ugx-FRk0tkImbQPhwyYjyz_0Q-w6F2A0gDOfMZrdklD6rVn6-QnYggfImb55f90V7nrD_kbSkT3-y3gPqoTFg0ynTBLyX5Lw2" /&gt;
  </code></pre>
  
  <p>When I used the following expression: </p>
  
  <pre><code>name="__RequestVerificationToken" type="hidden" value="(.+?)"
  </code></pre>
  
  <p>the value was not extracted.</p>
  
  <p>After a few searches I used the following expression: </p>
  
  <pre><code>name="__RequestVerificationToken" type="hidden" value="([A-Za-z0-9-_]+?)"  
  </code></pre>
  
  <p>which worked, but I don't know why :d.</p>
  
  <p>My question: why the first expression didn't worked since basically tells to extract any character that matches one or more times.</p>