In this string:
<@edi:outOperatorVoyageNbr>V4</@edi:outOperatorVoyageNbr>
I would like to match:
<@edi:
But this gets matchedinstead :
<@edi:outOperatorVoyageNbr>V4</@edi:
This is the regex I have tried already:
<@.*(:+?)
But it isnt working :(