title: Regex that searches for a starting character, anything in between, then an ending character?
body: <p>So basically, I have a hugeee list of values that I copied from my site and would like them as just plain text. I need to create a regex for Javascript that removes the unwanted stuff</p>
  
  <p>Here is what the values look like before hand:</p>
  
  <pre><code>&lt;option value="111122223333"&gt;Some text (45)&lt;/option&gt;
  &lt;option value="345835385390"&gt;Some text (10)&lt;/option&gt;
  &lt;option value="456727235764"&gt;Some text (50)&lt;/option&gt;
  </code></pre>
  
  <p>Here is what they need to look like afterwards:</p>
  
  <pre><code>Some text
  Some text
  Some text
  </code></pre>
  
  <p>Is this possible with 1 regex, or will many be needed?</p>
  
  <p>My thinking is that a regex looks for <code>&lt;</code> anything in between, and then <code>&gt;</code> could be used on both the opening and closing <code>option</code> tags. Then the regex could be slightly modified to look for opening <code>(</code> and then closing <code>)</code> to remove the counter numbers to the left of the 'Some text' string.</p>
  
  <p>Still learing regex, so it would be great if someone could also add a small explanation to their answer so that I could have some understanding of it. Thanks.</p>