How to set html parser rule to translate or NOT translate text in span elements based on the value of an attribute (data-condition)? The html code is generated by RoboHelp. [Conditional text]

<p class="Numbered" dir="ltr">Click to place the object in the drawing.<span data-condition="VW:Comment"> [Test of conditional text for translation.]</span></p>