I have some HTML in a text and I would like to apply a character style to the HTML tags:
<p>This is some <strong>HTML</strong> I want to use.</p>
I want to only change the tag name, not the <
or >
. In other words, I want to change the style of the p
but not the enclosing <>
.
Normally, I would use: \<(.*?)\>
to capture the group inside the brackets, but InDesign includes the brackets!