title: Get class with regex
body: <pre><code>&lt;span class="here one-two-sdfs test"&gt;click1&lt;/span&gt; &lt;br /&gt;
  &lt;span class="here one-two-3er te3st"&gt;click2&lt;/span&gt; &lt;br /&gt;
  &lt;span class="here one-two-sdwrer test"&gt;click3&lt;/span&gt; &lt;br /&gt;
  &lt;span class="here one-two-s-ere test"&gt;click4&lt;/span&gt; &lt;br /&gt;
  &lt;span class="here one-two-wer-r test"&gt;click5&lt;/span&gt; &lt;br /&gt;
  &lt;span class="here one-two test"&gt;click6&lt;/span&gt; &lt;br /&gt;
  
  $('.here').click(function(){
      var one-two = ????
      alert(one-two);
      })​
  </code></pre>
  
  <p>​
  <a href="http://jsfiddle.net/tMzAH/" rel="nofollow">fiddle</a></p>
  
  <p>i would like - </p>
  
  <p>if i click on <strong>click1</strong> then alert show me <strong>one-two-sdfs</strong></p>
  
  <p>if i click on <strong>click2</strong> then alert show me <strong>one-two-3er</strong></p>
  
  <p>if i click on <strong>click3</strong> then alert show me <strong>one-two-sdwrer</strong></p>
  
  <p>if i click on <strong>click4</strong> then alert show me <strong>one-two-s-ere</strong></p>
  
  <p>if i click on <strong>click5</strong> then alert show me <strong>one-two-wer-r</strong></p>
  
  <p>if i click on <strong>click6</strong> then alert show me <strong>one-two</strong></p>
  
  <p>i would like show class with begin <strong>one-two-</strong>
  how can i make it?:)</p>