title: regex to match after double forward slash until colon
body: <p>I'm trying to match everything after the first occurrance of double forward slash until colon. The string looks as follows:</p>
  
  <pre><code>connectionUrl=jdbc\:postgresql\://somestringhere\:5432/somedb
  </code></pre>
  
  <p>So far I've managed to come up with the following:</p>
  
  <pre><code>/\/([^/])(.*?)(?=\\)/
  </code></pre>
  
  <p>This catches:</p>
  
  <pre><code>/somestringhere
  </code></pre>
  
  <p>I'm trying to figure out how to get rid of the second <code>/</code>, so that I only catch:</p>
  
  <pre><code>somestringhere
  </code></pre>
  
  <p>Thanks in advance!</p>