title: How can I use regex to get 1 or 2 characters after a specific character?
body: <p>How can I use regex to get 1 or 2 characters after a specific character <code>-</code>?</p>
  
  <p>For example:</p>
  
  
  
  <pre class="lang-none prettyprint-override"><code>33225566-69   =&gt; 69
  33225544-5    =&gt; 5
  </code></pre>
  
  <p>But I don't want more than 3 characters:</p>
  
  <pre class="lang-none prettyprint-override"><code>33226655-678  =&gt;  Do not select
  </code></pre>
  
  <p>Lookbehind is not supported in some browsers.
  I want the regex command without lookbehind.</p>