I have string in XML, <italic>a</italic> and I am using xsl:analyze-string to extract all italic words with this pattern: "<italic>a</italic>". I know I can use template match on italic but the requirement here is to match it using regex. I am trying to write the expression like this, (<italic>)[a-z]+</italic>, but the XSLT processor is throwing an error on the opening < tag.
Any idea how to handle opening and closing tags in regex?