title: What Regex code to use for .jpg extension in lower and upper case?
body: <p>Not being a Regex expert, I was wondering in what way I have to change the regex code so it will also match the .jpg extension in capitals at the end (.JPG)? This is the code:</p>
  
  <pre><code>^(\d+(?:_\d+)?\.jpg$) 
  </code></pre>
  
  <p>See test here: <a href="http://regex101.com/r/aV1aD8" rel="nofollow">http://regex101.com/r/aV1aD8</a></p>
  
  <p>Thanks!</p>