title: Regex: match first occurrence of :
body: <p>In this string:</p>
  
  <pre><code>&lt;@edi:outOperatorVoyageNbr&gt;V4&lt;/@edi:outOperatorVoyageNbr&gt;
  </code></pre>
  
  <p>I would like to match:</p>
  
  <pre><code>&lt;@edi:
  </code></pre>
  
  <p>But this gets matchedinstead :</p>
  
  <pre><code>&lt;@edi:outOperatorVoyageNbr&gt;V4&lt;/@edi:
  </code></pre>
  
  <p>This is the regex I have tried already:</p>
  
  <pre><code>&lt;@.*(:+?)
  </code></pre>
  
  <p>But it isnt working :(</p>