title: oracle regex match interval
body: <p>I want to find out all the name which contains minimum 2 consecutive a and not more then 3 consecutive a.</p>
  
  <p>I written the quires but It not fulfill the requirement.</p>
  
  <p>Please look the below quires</p>
  
  <pre><code>SELECT FIRST_NAME,LAST_NAME
  FROM EMPLOYEES
  WHERE REGEXP_LIKE(FIRST_NAME,'a{2,3}')
  </code></pre>
  
  <p>Output:
  <a href="https://i.stack.imgur.com/k6F6R.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/k6F6R.png" alt="enter image description here"></a></p>
  
  <p>But I need only "Srikrushnaaa".</p>
  
  <p>Thanks.</p>