title: Matching text between hyphens with regex
body: <p>Currently I have this string:</p>
  <pre><code>&quot;RED-CURRENT_FORD-something.something&quot;
  </code></pre>
  <p>I need to capture the word between the hyphens. In this case the word <code>CURRENT_FORD</code>.</p>
  <p>I have the following written:</p>
  <pre><code>\CURRENT_.*\B-\
  </code></pre>
  <p>Which returns <code>CURRENT_FORD-</code> which is wrong on two levels.</p>
  <ol>
  <li>It implies that everything between hyphens starts with <code>CURRENT</code>.</li>
  <li>It includes the hyphen at the end.</li>
  </ol>
  <p>Is there a way to capture the words in between the hyphens without explicitly stating the first word?</p>