title: Regex to select only the URLs that don't end with a comma
body: <p>Could someone help me to write a Regex to match only the URLs which does not have a Comma in it. Also, an explanation on how it works would be grateful.</p>
  
  <p>Example-</p>
  
  
  
  <p>1.) <code>https://itunes.apple.com/us/book/a-way-home/id982665320?mt=11</code></p>
  
  <p>2.) <code>http://itunes.apple.com/us/book/dont-turn-around/id981698737?mt=11,</code></p>
  
  <p>The regex I'm using: </p>
  
  <pre class="lang-none prettyprint-override"><code>.*//(itunes).apple.com/(us)/(book).*id([0-9]+).*
  </code></pre>
  
  <p>Output expected - </p>
  
  <pre class="lang-none prettyprint-override"><code>itunesusbook981698737
  </code></pre>
  
  <p>My regex should work only with the first URL and not with second.</p>