I have a string as follows:
xri:roughgoing:QE1_300:whatwasthis:majorleague:FC:Hungary
From this, I need to extract “QE1_300”.
I was considering using matches() or tokenize() in combination with some regex.
Would someone be able to suggest the best method?
<xsl:for-each select="myRef['[^:]*']">
<xsl:if test="position() = 2">{.}</xsl:if>
</xsl:for-each>